Class

org.clustering4ever.clustering.kcenters.scala

KCenters

Related Doc: package scala

Permalink

final case class KCenters[V <: GVector[V], D[X <: GVector[X]] <: Distance[X]](k: Int, metric: D[V], minShift: Double, maxIterations: Int, customCenters: HashMap[Int, V] = immutable.HashMap.empty[Int, V]) extends KCentersAncestor[V, D[V], KCentersModel[V, D]] with Product with Serializable

Linear Supertypes
Product, Equals, KCentersAncestor[V, D[V], KCentersModel[V, D]], ClusteringAlgorithmLocal[V, KCentersModel[V, D]], ClusteringAlgorithm, KCommons[V, D[V]], ClusteringSharedTypes, KCommonsArgs[V, D[V]], MetricArgs[V, D[V]], KArgs, MaxIterationsArgs, MinShiftArgs, AlgorithmsArguments, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KCenters
  2. Product
  3. Equals
  4. KCentersAncestor
  5. ClusteringAlgorithmLocal
  6. ClusteringAlgorithm
  7. KCommons
  8. ClusteringSharedTypes
  9. KCommonsArgs
  10. MetricArgs
  11. KArgs
  12. MaxIterationsArgs
  13. MinShiftArgs
  14. AlgorithmsArguments
  15. Serializable
  16. Serializable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KCenters(k: Int, metric: D[V], minShift: Double, maxIterations: Int, customCenters: 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. val algorithmID: extensibleAlgorithmNature.KCenters.type

    Permalink
    Definition Classes
    KCenters → ClusteringAlgorithm
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def castModel(model: ClusteringModelLocal[V]): Option[KCentersModel[V, D]]

    Permalink
    Definition Classes
    ClusteringAlgorithmLocal
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. val customCenters: HashMap[Int, V]

    Permalink

    A custom centers initialiazation indexed from 0 until k - 1, empty HashMap by default which result usage of K++ initialization

    A custom centers initialiazation indexed from 0 until k - 1, empty HashMap by default which result usage of K++ initialization

    Definition Classes
    KCentersKCommons
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def fit[O, Cz[B, C <: GVector[C]] <: Clusterizable[B, C, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, V]]): KCentersModel[V, D]

    Permalink
    Definition Classes
    KCenters → ClusteringAlgorithmLocal
  11. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  13. val k: Int

    Permalink

    The number of cluster seeked

    The number of cluster seeked

    Definition Classes
    KCentersKCommonsArgs → KArgs
  14. val maxIterations: Int

    Permalink
    Definition Classes
    KCenters → MaxIterationsArgs
  15. val metric: D[V]

    Permalink
    Definition Classes
    KCenters → MetricArgs
  16. val minShift: Double

    Permalink

    The minimal shift under which centers are considered stationary

    The minimal shift under which centers are considered stationary

    Definition Classes
    KCentersKCommonsArgs → MinShiftArgs
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. 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 KCentersAncestor[V, D[V], KCentersModel[V, D]]

Inherited from ClusteringAlgorithmLocal[V, KCentersModel[V, D]]

Inherited from ClusteringAlgorithm

Inherited from KCommons[V, D[V]]

Inherited from ClusteringSharedTypes

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 Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped