Class

org.clustering4ever.clustering.kcenters.scala

KModesModel

Related Doc: package scala

Permalink

final case class KModesModel[D <: BinaryDistance](k: Int, metric: D, minShift: Double, maxIterations: Int, centers: HashMap[Int, BinaryVector] = ...) extends KCentersModelAncestor[BinaryVector, D] with ClusteringModelLocalBinary with CenterModelLocalBinary[D] with KnnModelModelBinary[D] with Product with Serializable

KModes model

Linear Supertypes
Product, Equals, KnnModelModelBinary[D], KnnModelSimpleV[Int, BinaryVector, D], KnnModelModel[BinaryVector, D], CenterModelLocalBinary[D], CenterModelSimpleVLocal[Int, BinaryVector, D], CenterModelSimpleV[Int, BinaryVector, D], ClusteringModelLocalBinary, KCentersModelAncestor[BinaryVector, D], CenterModelLocalCz[BinaryVector, D], CenterModelCz[BinaryVector, D], CenterModelLocal[BinaryVector, D], ClusteringModelLocal[BinaryVector], KCentersModelCommons[BinaryVector, D], KCommonsArgs[BinaryVector, D], MetricArgs[BinaryVector, D], KArgs, MaxIterationsArgs, MinShiftArgs, AlgorithmsArguments, CenterModel[BinaryVector, D], MetricModel[BinaryVector, D], ClusteringModel, ClusteringSharedTypes, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KModesModel
  2. Product
  3. Equals
  4. KnnModelModelBinary
  5. KnnModelSimpleV
  6. KnnModelModel
  7. CenterModelLocalBinary
  8. CenterModelSimpleVLocal
  9. CenterModelSimpleV
  10. ClusteringModelLocalBinary
  11. KCentersModelAncestor
  12. CenterModelLocalCz
  13. CenterModelCz
  14. CenterModelLocal
  15. ClusteringModelLocal
  16. KCentersModelCommons
  17. KCommonsArgs
  18. MetricArgs
  19. KArgs
  20. MaxIterationsArgs
  21. MinShiftArgs
  22. AlgorithmsArguments
  23. CenterModel
  24. MetricModel
  25. ClusteringModel
  26. ClusteringSharedTypes
  27. Serializable
  28. Serializable
  29. AnyRef
  30. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KModesModel(k: Int, metric: D, minShift: Double, maxIterations: Int, centers: HashMap[Int, BinaryVector] = ...)

    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.KModes.type

    Permalink
    Definition Classes
    KModesModel → ClusteringModel
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def centerPredict[GS[X] <: GenSeq[X]](data: GS[Array[Int]])(implicit d1: DummyImplicit, d2: DummyImplicit): GS[(ClusterID, Array[Int])]

    Permalink
    Definition Classes
    CenterModelSimpleVLocal
  7. final def centerPredict(v: Array[Int]): ClusterID

    Permalink
    Definition Classes
    CenterModelSimpleV
  8. final def centerPredict[O, Cz[B, C <: GVector[C]] <: Clusterizable[B, C, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, BinaryVector]])(implicit d: DummyImplicit): GS[Cz[O, BinaryVector]]

    Permalink
    Definition Classes
    CenterModelLocalCz
  9. final def centerPredict[O, Cz[B, C <: GVector[C]] <: Clusterizable[B, C, Cz]](cz: Cz[O, BinaryVector]): ClusterID

    Permalink
    Definition Classes
    CenterModelCz
  10. final def centerPredict[GS[X] <: GenSeq[X]](data: GS[BinaryVector]): GS[(ClusterID, BinaryVector)]

    Permalink
    Definition Classes
    CenterModelLocal
  11. final def centerPredict(v: BinaryVector): ClusterID

    Permalink
    Definition Classes
    CenterModel
  12. final val centers: HashMap[Int, BinaryVector]

    Permalink
    Definition Classes
    KModesModel → CenterModel
  13. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  15. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  17. final val k: Int

    Permalink

    The number of initial seeked clusters, the real number of cluster can be smaller, cf centers.size

    The number of initial seeked clusters, the real number of cluster can be smaller, cf centers.size

    Definition Classes
    KModesModelKCentersModelCommonsKCommonsArgs → KArgs
  18. final def knnPredict(v: Array[Int], k: Int, trainDS: Seq[(ClusterID, Array[Int])]): ClusterID

    Permalink
    Definition Classes
    KnnModelSimpleV
  19. final def knnPredict(v: BinaryVector, k: Int, trainDS: Seq[(ClusterID, BinaryVector)]): ClusterID

    Permalink
    Definition Classes
    KnnModelModel
  20. final def knnPredictWithNN(v: Array[Int], k: Int, trainDS: Seq[(ClusterID, Array[Int])]): (ClusterID, Seq[(ClusterID, Array[Int])])

    Permalink
    Definition Classes
    KnnModelSimpleV
  21. final def knnPredictWithNN(v: BinaryVector, k: Int, trainDS: Seq[(ClusterID, BinaryVector)]): (ClusterID, Seq[(ClusterID, BinaryVector)])

    Permalink
    Definition Classes
    KnnModelModel
  22. final val maxIterations: Int

    Permalink

    The maximum number of authorized iterations

    The maximum number of authorized iterations

    Definition Classes
    KModesModelKCentersModelCommons → MaxIterationsArgs
  23. final val metric: D

    Permalink
    Definition Classes
    KModesModel → MetricArgs → MetricModel
  24. final val minShift: Double

    Permalink

    The stopping threshold for iterations

    The stopping threshold for iterations

    Definition Classes
    KModesModelKCentersModelCommonsKCommonsArgs → MinShiftArgs
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def obtainClustering[O, Cz[Y, Z <: GVector[Z]] <: Clusterizable[Y, Z, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, BinaryVector]]): GS[Cz[O, BinaryVector]]

    Permalink
    Attributes
    protected[org.clustering4ever.clustering]
    Definition Classes
    KCentersModelAncestor → ClusteringModelLocal
  29. final def obtainClusteringIDs[O, Cz[Y, Z <: GVector[Z]] <: Clusterizable[Y, Z, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, BinaryVector]]): GS[ClusterID]

    Permalink
    Attributes
    protected[org.clustering4ever.clustering]
    Definition Classes
    ClusteringModelLocal
  30. final def prototypesDistancePerPoint[O, Cz[Y, Z <: GVector[Z]] <: Clusterizable[Y, Z, Cz], GS[X] <: GenSeq[X]](data: GS[Cz[O, BinaryVector]]): GS[(Cz[O, BinaryVector], HashMap[ClusterID, Double])]

    Permalink

    Compute the distance between every points and all centers

    Compute the distance between every points and all centers

    Definition Classes
    KCentersModelAncestor
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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 KnnModelModelBinary[D]

Inherited from KnnModelSimpleV[Int, BinaryVector, D]

Inherited from KnnModelModel[BinaryVector, D]

Inherited from CenterModelLocalBinary[D]

Inherited from CenterModelSimpleVLocal[Int, BinaryVector, D]

Inherited from CenterModelSimpleV[Int, BinaryVector, D]

Inherited from ClusteringModelLocalBinary

Inherited from KCentersModelAncestor[BinaryVector, D]

Inherited from CenterModelLocalCz[BinaryVector, D]

Inherited from CenterModelCz[BinaryVector, D]

Inherited from CenterModelLocal[BinaryVector, D]

Inherited from ClusteringModelLocal[BinaryVector]

Inherited from KCentersModelCommons[BinaryVector, D]

Inherited from KCommonsArgs[BinaryVector, D]

Inherited from MetricArgs[BinaryVector, D]

Inherited from KArgs

Inherited from MaxIterationsArgs

Inherited from MinShiftArgs

Inherited from AlgorithmsArguments

Inherited from CenterModel[BinaryVector, D]

Inherited from MetricModel[BinaryVector, D]

Inherited from ClusteringModel

Inherited from ClusteringSharedTypes

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped