KMeansPPClusterer

scalation.modeling.clustering.KMeansPPClusterer
See theKMeansPPClusterer companion class

The KMeansPPClusterer companion object supplies a factory function.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(x: MatrixD, k: Int, algo: Algorithm, check: Int): KMeansPPClusterer

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

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

Value parameters

algo

the clustering algorithm to use

check

the number of times to see local minumum before stopping

k

the number of clusters to make

x

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

Attributes

def permuteStreams(stream: Int): 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.

Value parameters

stream

the stream to use in this process

Attributes