Class

org.clustering4ever.scala.clustering.kcenters

KCentersModel

Related Doc: package kcenters

Permalink

class KCentersModel[ID, O, V, Cz <: Clusterizable[ID, O, V, Cz], D <: Distance[V]] extends CenterOrientedModel[V, D]

Linear Supertypes
CenterOrientedModel[V, D], ClusteringModel, ClusteringCommons, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KCentersModel
  2. CenterOrientedModel
  3. ClusteringModel
  4. ClusteringCommons
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KCentersModel(centers: HashMap[Int, V], metric: D, workingVector: Int)(implicit arg0: Numeric[ID])

    Permalink

Type Members

  1. type ClusterID = Int

    Permalink
    Definition Classes
    ClusteringCommons

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 asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def centerPredict(data: GenSeq[Cz])(implicit i: DummyImplicit): GenSeq[Cz]

    Permalink

    Time complexity O(ndata.c) with c the number of clusters

    Time complexity O(ndata.c) with c the number of clusters

    returns

    the input Seq with labels obtain via centerPredict method

  6. def centerPredict(data: GenSeq[V]): GenSeq[(ClusterID, V)]

    Permalink
    Definition Classes
    CenterOrientedModel
  7. def centerPredict(v: V): ClusterID

    Permalink
    Definition Classes
    CenterOrientedModel
  8. val centers: HashMap[Int, V]

    Permalink
    Definition Classes
    KCentersModel → CenterOrientedModel
  9. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. def knnPredict(data: GenSeq[Cz], k: Int, trainDS: Seq[(ClusterID, V)]): GenSeq[Cz]

    Permalink

    Time complexity O(ndata.ntrainDS)

    Time complexity O(ndata.ntrainDS)

    returns

    the input Seq with labels obtain via knnPredict method

  17. def knnPredict(data: GenSeq[Cz], k: Int, trainDS: Seq[Cz], clusteringNumber: Int = 0)(implicit i: DummyImplicit): GenSeq[Cz]

    Permalink

    Time complexity O(ndata.ntrainDS)

    Time complexity O(ndata.ntrainDS)

    returns

    the input Seq with labels obtain via knnPredict method

  18. def knnPredict(data: GenSeq[V], k: Int, trainDS: Seq[(ClusterID, V)]): GenSeq[(ClusterID, V)]

    Permalink
    Definition Classes
    CenterOrientedModel
  19. def knnPredict(v: V, k: Int, trainDS: Seq[(ClusterID, V)]): ClusterID

    Permalink
    Definition Classes
    CenterOrientedModel
  20. val metric: D

    Permalink
    Definition Classes
    KCentersModel → CenterOrientedModel
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. var workingVector: Int

    Permalink

Inherited from CenterOrientedModel[V, D]

Inherited from ClusteringModel

Inherited from ClusteringCommons

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped