C# Class numl.Unsupervised.KMeans

A means.
Datei anzeigen Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
Generate ( Descriptor descriptor, IEnumerable examples, int k, IDistance metric = null ) : numl.Unsupervised.Cluster

Generates.

Generate ( IEnumerable examples, int k, IDistance metric = null ) : int[]

Generates.

Generate ( Matrix x, int k, IDistance metric ) : int[]

Generates.

Private Methods

Method Description
InitializeRandom ( Matrix X, int k ) : Matrix

Initializes the random.

InitializeUniform ( Matrix X, int k ) : Matrix

Initializes the uniform.

Method Details

Generate() public method

Generates.
public Generate ( Descriptor descriptor, IEnumerable examples, int k, IDistance metric = null ) : numl.Unsupervised.Cluster
descriptor Descriptor The descriptor.
examples IEnumerable The examples.
k int The int to process.
metric IDistance (Optional) the metric.
return numl.Unsupervised.Cluster

Generate() public method

Generates.
Thrown when the requested operation is invalid.
public Generate ( IEnumerable examples, int k, IDistance metric = null ) : int[]
examples IEnumerable The examples.
k int The int to process.
metric IDistance (Optional) the metric.
return int[]

Generate() public method

Generates.
public Generate ( Matrix x, int k, IDistance metric ) : int[]
x Matrix The Matrix to process.
k int The int to process.
metric IDistance the metric.
return int[]