Trait

quasar.mimir

KMediansCoreSetClustering

Related Doc: package mimir

Permalink

trait KMediansCoreSetClustering extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KMediansCoreSetClustering
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type CoreSet = (Array[Array[Double]], Array[Long])

    Permalink
  2. case class CoreSetTree(tree: List[(Int, CoreSet)], k: Int) extends Product with Serializable

    Permalink
  3. case class GridPoint(point: Array[Double]) extends Product with Serializable

    Permalink

Abstract Value Members

  1. abstract def epsilon: Double

    Permalink

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. object CoreSet

    Permalink
  5. object CoreSetTree extends Serializable

    Permalink
  6. def approxKMedian(points: Array[Array[Double]], weights: Array[Long], k: Int): (Double, Array[Array[Double]], Array[Boolean])

    Permalink

    Returns a clustering that is within 2 times the cost of the optimal k-medians clustering.

    Returns a clustering that is within 2 times the cost of the optimal k-medians clustering.

    The algorithm is fairly simple. It starts with a ranomd seed cluster. It then adds a new cluster by finding the point that is farthest away from its nearest cluster. This point is the seed for a new cluster. We repeat until we have k clusters.

    Note

    Clustering to Minimize the Maximum Intercluster Distance, Gonzalez 1984

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def assign(points: Array[Array[Double]], clustering: Array[Array[Double]]): (Array[Double], Array[Int])

    Permalink

    This returns a 2-tuple of an array of distances of each point to their nearest center and an array of cluster indexes each point belongs to.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def dist(x: Array[Double], y: Array[Double]): Double

    Permalink
  11. def distMin(x: Array[Double], y: Array[Double]): Double

    Permalink
  12. def distSq(x: Array[Double], y: Array[Double]): Double

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  19. def kMediansCost(points: Array[Array[Double]], weights: Array[Long], centers: Array[Array[Double]], threshold: Double): Double

    Permalink

    This returns the cost of the k-medians clustering given by centers.

    This returns the cost of the k-medians clustering given by centers. The points must also be associated with a set of weights.

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def weightArray(xs: Array[Double], ws: Array[Long]): Unit

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped