Github user WeichenXu123 commented on the issue: https://github.com/apache/spark/pull/22360 @srowen The delegated `mllib.BisectingKMeansModel` is: ``` class BisectingKMeansModel private[clustering] ( private[clustering] val root: ClusteringTreeNode, @Since("2.4.0") val distanceMeasure: String ) extends... ``` its constructor argument `distanceMeasure` is immutable and the `setDistanceMeasure` here only change the wrapper model's param and it effect nothing.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org