Class

clustering4ever.scala.clustering.kprotoypes

KPrototypesModel

Related Doc: package kprotoypes

Permalink

final class KPrototypesModel[ID, Vb <: Seq[Int], Vs <: Seq[Double], O, V <: BinaryScalarVector[Vb, Vs], Cz <: MixtClusterizable[ID, O, Vb, Vs, V, Cz], D <: MixtDistance[Vb, Vs, V]] extends KCommonsModel[ID, V, D, Cz]

Linear Supertypes
KCommonsModel[ID, V, D, Cz], CommonPredictClusteringModel[V, D], ClusteringModel, Serializable, Serializable, ClusteringCommons, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KPrototypesModel
  2. KCommonsModel
  3. CommonPredictClusteringModel
  4. ClusteringModel
  5. Serializable
  6. Serializable
  7. ClusteringCommons
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KPrototypesModel(centers: HashMap[Int, V], metric: D)(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

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

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

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

    Permalink
    Definition Classes
    KCommonsModel → CommonPredictClusteringModel
  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[Cz]): GenSeq[Cz]

    Permalink

    Time complexity O(ndata.ntrainDS)

    Time complexity O(ndata.ntrainDS)

    returns

    the input Seq with labels obtain via knnPredict method

    Definition Classes
    KCommonsModel
  17. def knnPredict(data: GenSeq[Cz], k: Int, trainDS: Seq[(ClusterID, V)])(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

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

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

    Permalink
    Definition Classes
    CommonPredictClusteringModel
  20. val metric: D

    Permalink
    Definition Classes
    KCommonsModel → CommonPredictClusteringModel
  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( ... )

Inherited from KCommonsModel[ID, V, D, Cz]

Inherited from CommonPredictClusteringModel[V, D]

Inherited from ClusteringModel

Inherited from Serializable

Inherited from Serializable

Inherited from ClusteringCommons

Inherited from AnyRef

Inherited from Any

Ungrouped