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], minShift: 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]], KCommonsArgs[V, D[V]], MetricArgs[V, D[V]], KArgs, MaxIterationsArgs, MinShiftArgs, AlgorithmsArguments, 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. KCommonsArgs
  12. MetricArgs
  13. KArgs
  14. MaxIterationsArgs
  15. MinShiftArgs
  16. AlgorithmsArguments
  17. CenterModel
  18. MetricModel
  19. ClusteringModel
  20. ClusteringSharedTypes
  21. Serializable
  22. Serializable
  23. AnyRef
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KCentersModel(k: Int, metric: D[V], minShift: 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
    @HotSpotIntrinsicCandidate() @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. 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
    KCentersModelKCentersModelCommonsKCommonsArgs → KArgs
  16. final def knnPredict(v: V, k: Int, trainDS: Seq[(ClusterID, V)]): ClusterID

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

    Permalink
    Definition Classes
    KnnModelModel
  18. final val maxIterations: Int

    Permalink

    The maximum number of authorized iterations

    The maximum number of authorized iterations

    Definition Classes
    KCentersModelKCentersModelCommons → MaxIterationsArgs
  19. final val metric: D[V]

    Permalink
    Definition Classes
    KCentersModel → MetricArgs → MetricModel
  20. final val minShift: Double

    Permalink

    The stopping threshold for iterations

    The stopping threshold for iterations

    Definition Classes
    KCentersModelKCentersModelCommonsKCommonsArgs → MinShiftArgs
  21. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. 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
  25. 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
  26. 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
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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 KCommonsArgs[V, D[V]]

Inherited from MetricArgs[V, D[V]]

Inherited from KArgs

Inherited from MaxIterationsArgs

Inherited from MinShiftArgs

Inherited from AlgorithmsArguments

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