Trait

org.clustering4ever.clustering.kcenters.scala

KCentersAncestor

Related Doc: package scala

Permalink

trait KCentersAncestor[V <: GVector[V], D <: Distance[V], CM <: KCentersModelAncestor[V, D]] extends KCommons[V, D] with ClusteringAlgorithmLocal[V, CM]

The famous K-Centers using a user-defined dissmilarity measure.

Linear Supertypes
ClusteringAlgorithmLocal[V, CM], ClusteringAlgorithm, KCommons[V, D], ClusteringSharedTypes, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KCentersAncestor
  2. ClusteringAlgorithmLocal
  3. ClusteringAlgorithm
  4. KCommons
  5. ClusteringSharedTypes
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type ClusterID = Int

    Permalink
    Definition Classes
    ClusteringSharedTypes

Abstract Value Members

  1. abstract val algorithmID: ClusteringAlgorithmNature

    Permalink
    Definition Classes
    ClusteringAlgorithm
  2. abstract 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
    KCommons
  3. abstract 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
    KCommons
  4. abstract val k: Int

    Permalink

    The number of cluster seeked

    The number of cluster seeked

    Definition Classes
    KCommons
  5. abstract val maxIterations: Int

    Permalink

    The maximum number of iterations

    The maximum number of iterations

    Definition Classes
    KCommons
  6. abstract val metric: D

    Permalink

    The employed metric on the GVector descendant

    The employed metric on the GVector descendant

    Definition Classes
    KCommons
  7. abstract def run[O, Cz[B, C <: GVector[C]] <: Clusterizable[B, C, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, V]]): CM

    Permalink
    Definition Classes
    ClusteringAlgorithmLocal

Concrete 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 def areCentersNotMovingEnough(updatedCenters: ArrayBuffer[(Int, V)], previousCenters: ArrayBuffer[(Int, V)], epsilon: Double, metric: D): 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
  5. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. 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]
  18. final def obtainNearestCenterID(v: V, centers: ArrayBuffer[(Int, V)], metric: D): ClusterID

    Permalink

    Attributes
    protected[org.clustering4ever.clustering.kcenters]
    Definition Classes
    KCommons
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

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

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

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

Inherited from ClusteringAlgorithmLocal[V, CM]

Inherited from ClusteringAlgorithm

Inherited from KCommons[V, D]

Inherited from ClusteringSharedTypes

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped