Class ClusterData

Object
org.apache.spark.ml.clustering.ClusterData
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable

public class ClusterData extends Object implements scala.Product, scala.Serializable
Helper class for storing model data
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClusterData(int clusterIdx, Vector clusterCenter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
     
    int
     
    static String
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productIterator, productPrefix
  • Constructor Details

    • ClusterData

      public ClusterData(int clusterIdx, Vector clusterCenter)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • clusterIdx

      public int clusterIdx()
    • clusterCenter

      public Vector clusterCenter()