Interface HasDistanceMeasure

All Superinterfaces:
Identifiable, Params, Serializable, scala.Serializable
All Known Subinterfaces:
BisectingKMeansParams, KMeansParams
All Known Implementing Classes:
BisectingKMeans, BisectingKMeansModel, KMeans, KMeansModel

public interface HasDistanceMeasure extends Params
Trait for shared param distanceMeasure (default: "euclidean"). This trait may be changed or removed between minor versions.
  • Method Details

    • distanceMeasure

      Param<String> distanceMeasure()
      Param for The distance measure. Supported options: 'euclidean' and 'cosine'.
      Returns:
      (undocumented)
    • getDistanceMeasure

      String getDistanceMeasure()