C# Class Accord.MachineLearning.BinarySplit

Inheritance: KMeans
Datei anzeigen Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
BinarySplit ( int k ) : System

Initializes a new instance of the Binary Split algorithm

BinarySplit ( int k, IDistance distance ) : System

Initializes a new instance of the Binary Split algorithm

Learn ( double x, double weights = null ) : KMeansClusterCollection

Learns a model that can map the given inputs to the desired outputs.

Private Methods

Method Description
split ( double cluster, KMeans kmeans ) : double[][]>.Tuple

Method Details

BinarySplit() public method

Initializes a new instance of the Binary Split algorithm
public BinarySplit ( int k ) : System
k int The number of clusters to divide the input data into.
return System

BinarySplit() public method

Initializes a new instance of the Binary Split algorithm
public BinarySplit ( int k, IDistance distance ) : System
k int The number of clusters to divide the input data into.
distance IDistance The distance function to use. Default is to /// use the distance.
return System

Learn() public method

Learns a model that can map the given inputs to the desired outputs.
public Learn ( double x, double weights = null ) : KMeansClusterCollection
x double The model inputs.
weights double The weight of importance for each input sample.
return KMeansClusterCollection