Class

org.clustering4ever.clustering.kcenters.scala

KCentersModel

Related Doc: package scala

Permalink

final case class KCentersModel[V <: GVector[V], D[X <: GVector[X]] <: Distance[X]](k: Int, metric: D[V], epsilon: Double, maxIterations: Int, centers: HashMap[Int, V] = immutable.HashMap.empty[Int, V]) extends KCentersModelAncestor[V, D[V]] with KnnModelModel[V, D[V]] with Product with Serializable

Generic KCenters model

Linear Supertypes
Product, Equals, KnnModelModel[V, D[V]], KCentersModelAncestor[V, D[V]], CenterModelLocalCz[V, D[V]], CenterModelCz[V, D[V]], CenterModelLocal[V, D[V]], ClusteringModelLocal[V], KCentersModelCommons[V, D[V]], CenterModel[V, D[V]], MetricModel[V, D[V]], ClusteringModel, ClusteringSharedTypes, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KCentersModel
  2. Product
  3. Equals
  4. KnnModelModel
  5. KCentersModelAncestor
  6. CenterModelLocalCz
  7. CenterModelCz
  8. CenterModelLocal
  9. ClusteringModelLocal
  10. KCentersModelCommons
  11. CenterModel
  12. MetricModel
  13. ClusteringModel
  14. ClusteringSharedTypes
  15. Serializable
  16. Serializable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KCentersModel(k: Int, metric: D[V], epsilon: Double, maxIterations: Int, centers: HashMap[Int, V] = immutable.HashMap.empty[Int, V])

    Permalink

Type Members

  1. final type ClusterID = Int

    Permalink
    Definition Classes
    ClusteringSharedTypes

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val algorithmID: extensibleAlgorithmNature.KCenters.type

    Permalink
    Definition Classes
    KCentersModel → ClusteringModel
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def centerPredict[O, Cz[B, C <: GVector[C]] <: Clusterizable[B, C, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, V]])(implicit d: DummyImplicit): GS[Cz[O, V]]

    Permalink
    Definition Classes
    CenterModelLocalCz
  7. final def centerPredict[O, Cz[B, C <: GVector[C]] <: Clusterizable[B, C, Cz]](cz: Cz[O, V]): ClusterID

    Permalink
    Definition Classes
    CenterModelCz
  8. final def centerPredict[GS[X] <: GenSeq[X]](data: GS[V]): GS[(ClusterID, V)]

    Permalink
    Definition Classes
    CenterModelLocal
  9. final def centerPredict(v: V): ClusterID

    Permalink
    Definition Classes
    CenterModel
  10. final val centers: HashMap[Int, V]

    Permalink
    Definition Classes
    KCentersModel → CenterModel
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final val epsilon: Double

    Permalink

    The stopping threshold for iterations

    The stopping threshold for iterations

    Definition Classes
    KCentersModelKCentersModelCommons
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final val k: Int

    Permalink

    The number of initial seeked clusters, the real number of cluster can be smaller, cf centers.size

    The number of initial seeked clusters, the real number of cluster can be smaller, cf centers.size

    Definition Classes
    KCentersModelKCentersModelCommons
  18. final def knnPredict(v: V, k: Int, trainDS: Seq[(ClusterID, V)]): ClusterID

    Permalink
    Definition Classes
    KnnModelModel
  19. final def knnPredictWithNN(v: V, k: Int, trainDS: Seq[(ClusterID, V)]): (ClusterID, Seq[(ClusterID, V)])

    Permalink
    Definition Classes
    KnnModelModel
  20. final val maxIterations: Int

    Permalink

    The maximum number of authorized iterations

    The maximum number of authorized iterations

    Definition Classes
    KCentersModelKCentersModelCommons
  21. final val metric: D[V]

    Permalink
    Definition Classes
    KCentersModel → MetricModel
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def obtainClustering[O, Cz[Y, Z <: GVector[Z]] <: Clusterizable[Y, Z, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, V]]): GS[Cz[O, V]]

    Permalink
    Attributes
    protected[org.clustering4ever.clustering]
    Definition Classes
    KCentersModelAncestor → ClusteringModelLocal
  26. final def obtainClusteringIDs[O, Cz[Y, Z <: GVector[Z]] <: Clusterizable[Y, Z, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, V]]): GS[ClusterID]

    Permalink
    Attributes
    protected[org.clustering4ever.clustering]
    Definition Classes
    ClusteringModelLocal
  27. final def prototypesDistancePerPoint[O, Cz[Y, Z <: GVector[Z]] <: Clusterizable[Y, Z, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, V]]): GS[(Cz[O, V], HashMap[ClusterID, Double])]

    Permalink

    Compute the distance between every points and all centers

    Compute the distance between every points and all centers

    Definition Classes
    KCentersModelAncestor
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from KnnModelModel[V, D[V]]

Inherited from KCentersModelAncestor[V, D[V]]

Inherited from CenterModelLocalCz[V, D[V]]

Inherited from CenterModelCz[V, D[V]]

Inherited from CenterModelLocal[V, D[V]]

Inherited from ClusteringModelLocal[V]

Inherited from KCentersModelCommons[V, D[V]]

Inherited from CenterModel[V, D[V]]

Inherited from MetricModel[V, D[V]]

Inherited from ClusteringModel

Inherited from ClusteringSharedTypes

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped