[MINOR][ML] Remove BisectingKMeansModel.setDistanceMeasure
method
## What changes were proposed in this pull request? Remove `BisectingKMeansModel.setDistanceMeasure` method. In `BisectingKMeansModel` set this param is meaningless. ## How was this patch tested? N/A Closes #22360 from WeichenXu123/bkmeans_update. Authored-by: WeichenXu <weichen.xu@databricks.com> Signed-off-by: Sean Owen <sean.owen@databricks.com>
This commit is contained in:
parent
0b9ccd55c2
commit
88a930dfab
|
@ -104,10 +104,6 @@ class BisectingKMeansModel private[ml] (
|
|||
@Since("2.1.0")
|
||||
def setPredictionCol(value: String): this.type = set(predictionCol, value)
|
||||
|
||||
/** @group expertSetParam */
|
||||
@Since("2.4.0")
|
||||
def setDistanceMeasure(value: String): this.type = set(distanceMeasure, value)
|
||||
|
||||
@Since("2.0.0")
|
||||
override def transform(dataset: Dataset[_]): DataFrame = {
|
||||
transformSchema(dataset.schema, logging = true)
|
||||
|
|
Loading…
Reference in a new issue