nak

cluster

package cluster

Visibility
  1. Public
  2. All

Type Members

  1. class ClusterConfusionMatrix extends AnyRef

    A confusion matrix for comparing gold clusters to some predicted clusters.

  2. trait DistanceFunction extends (Point, Point) ⇒ Double

    A trait for distance functions, which take two Points as arguments and return a Double representing the distance between them.

  3. class IdentityTransformer extends PointTransformer

    A point transformer that simply returns the points given to it.

  4. class Kmeans extends AnyRef

    A class for computing clusters for a set of points using k-means (specifically, Lloyd's algorithm).

  5. class PcaTransformer extends PointTransformer

    A transformer that scales a set of points, maps them into a PCA space, and then reduces the dimensionality by retaining only the top components.

  6. case class Point(coord: IndexedSeq[Double]) extends Product with Serializable

    A simple representation of a point in some n-dimensional space.

  7. trait PointTransformer extends (IndexedSeq[Point]) ⇒ IndexedSeq[Point]

    A trait for functions that transform a set of points from one space to another space that is potentially scaled, reduced, or both.

  8. class ZscoreTransformer extends PointTransformer

    A class for objects that transform Points to and from z-score values based on means and standard deviations in each dimension.

Value Members

  1. object ClusterConfusionMatrix

    A companion object for constructing ClusterConfusionMatrices.

  2. object ClusterReport

  3. object CosineDistance extends DistanceFunction

    Compute the cosine distance between two points.

  4. object DistanceFunction

    A companion object to the DistanceFunction trait that helps select the DistanceFunction corresponding to each string description.

  5. object EuclideanDistance extends DistanceFunction

    Compute the Euclidean distance between two points.

  6. object ManhattanDistance extends DistanceFunction

    Compute the Manhattan (city-block) distance between two points.

  7. object PcaTransformer

    Companion object that constructs a ZscoreTransformer from the given points, and then computes the principal components from the scaled points.

  8. object PointTransformer

    A companion object to the PointTransformer trait to retrieve the point transformation functions corresponding to the given description.

  9. object ZscoreTransformer

    Companion object that computes means and standard deviations to construct a ZscoreTransformer.

Ungrouped