KMeansPPClustererTester

scalation.modeling.clustering.KMeansPPClustererTester

The KMeansPPClustererTester object includes test methods to aid in the testing of the KMeansPPClusterer class.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def test(x: MatrixD, k: Int, opt: Double, plot: Boolean, nstreams: Int): Unit

Test the KMeansPPClusterer class using sequential streams.

Test the KMeansPPClusterer class using sequential streams.

Value parameters

k

the number of clusters for form

nstreams

the number of random number streams to use

opt

optionally pass in known optimal value

plot

whether to plot the data points in the matrix.

x

the data matrix (each row is a data point)

Attributes

def test2(x: MatrixD, k: Int, opt: Double, plot: Boolean, nstreams: Int): Unit

Test the KMeansPPClusterer class using randomized streams.

Test the KMeansPPClusterer class using randomized streams.

Value parameters

k

the number of clusters for form

nstreams

the number of random number streams to use

opt

optionally pass in known optimal value

plot

whether to plot the data points in the matrix.

x

the data matrix (each row is a data point)

Attributes