org.apache.spark.streamdm.clusterers.clusters

MicroClusters

case class MicroClusters(microclusters: Array[MicroCluster]) extends Clusters with Product with Serializable

The MicroClusters object contains a number of microclusters in an Array. It provides operations for inserting, appending and removing microclusters.

It uses the following options:

Linear Supertypes
Product, Equals, Clusters, Model, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MicroClusters
  2. Product
  3. Equals
  4. Clusters
  5. Model
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MicroClusters(microclusters: Array[MicroCluster])

Type Members

  1. type T = MicroClusters

    Definition Classes
    MicroClustersClustersModel

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addToMicrocluster(index: Int, change: Example, timestamp: Long): MicroClusters

    Add an instance to the microcluster at a given instance.

    Add an instance to the microcluster at a given instance.

    index

    the index where the microcluster is

    change

    the Example containing the changed instance

    returns

    the updated MicroClusters object

  7. def appendMicrocluster(mc: MicroCluster): MicroClusters

    Append a microcluster.

    Append a microcluster.

    mc

    the microcluster to be appended

    returns

    the updated MicroClusters object

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. val horizonOption: IntOption

  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. val mOption: IntOption

  16. val microclusters: Array[MicroCluster]

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val radiusOption: FloatOption

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toExampleArray: Array[Example]

    Return an array of weighted centroids corresponding to the microclusters.

    Return an array of weighted centroids corresponding to the microclusters.

    returns

    the output Example array

  23. def toString(): String

    Definition Classes
    MicroClusters → AnyRef → Any
  24. def update(change: Example): MicroClusters

    Update the clustering data structure, depending on the Example given.

    Update the clustering data structure, depending on the Example given.

    change

    the example based on which the Model is updated

    returns

    the updated MicroClusters object

    Definition Classes
    MicroClustersClustersModel
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Clusters

Inherited from Model

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped