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], epsilon: 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, 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. Serializable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink
    Definition Classes
    KCenters → ClusteringAlgorithm
  5. final def areCentersNotMovingEnough(updatedCenters: ArrayBuffer[(Int, V)], previousCenters: ArrayBuffer[(Int, V)], epsilon: Double, metric: D[V]): Boolean

    Permalink

    Check if centers move enough

    Check if centers move enough

    returns

    true if every centers move less than epsilon

    Attributes
    protected[org.clustering4ever.clustering.kcenters]
    Definition Classes
    KCommons
  6. final def asInstanceOf[T0]: T0

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

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

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

    Permalink

    A custom centers initialiazation, empty HashMap by default which result usage of K++ initialization

    A custom centers initialiazation, empty HashMap by default which result usage of K++ initialization

    Definition Classes
    KCentersKCommons
  10. final val epsilon: Double

    Permalink

    The stopping criteria, ie the distance under which centers are mooving from their previous position

    The stopping criteria, ie the distance under which centers are mooving from their previous position

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

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

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

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

    Permalink
    Definition Classes
    Any
  15. final val k: Int

    Permalink

    The number of cluster seeked

    The number of cluster seeked

    Definition Classes
    KCentersKCommons
  16. final val maxIterations: Int

    Permalink

    The maximum number of iterations

    The maximum number of iterations

    Definition Classes
    KCentersKCommons
  17. final val metric: D[V]

    Permalink

    The employed metric on the GVector descendant

    The employed metric on the GVector descendant

    Definition Classes
    KCentersKCommons
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. final def obtainCenters[O, Cz[B, C <: GVector[C]] <: Clusterizable[B, C, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, V]]): HashMap[Int, V]

    Permalink

    Run the K-Centers

    Run the K-Centers

    Attributes
    protected[org.clustering4ever.clustering.kcenters]
    Definition Classes
    KCentersAncestor
  22. final def obtainNearestCenterID(v: V, centers: ArrayBuffer[(Int, V)], metric: D[V]): ClusterID

    Permalink

    Attributes
    protected[org.clustering4ever.clustering.kcenters]
    Definition Classes
    KCommons
  23. final def run[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
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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 Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped