object KMeansPPClusterer

The KMeansPPClusterer companion object supplies a factory function.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KMeansPPClusterer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(x: MatriD, k: Int, algo: Algorithm.Algorithm = HARTIGAN, check: Int = 3): KMeansPPClusterer

    Create a KMeansPPClusterer with random retarts.

    Create a KMeansPPClusterer with random retarts. It will restart enough times to see a local minumum 'check' times.

    x

    the vectors/points to be clustered stored as rows of a matrix

    k

    the number of clusters to make

    algo

    the clustering algorithm to use

    check

    the number of times to see local minumum before stopping

  2. def permuteStreams(stream: Int = 0): Unit

    Create a vector that is a permutation of the current vector of random number streams.

    Create a vector that is a permutation of the current vector of random number streams.

    stream

    the stream to use in this process