C# Class Accord.MachineLearning.BinarySplit

Inheritance: KMeans
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
split ( double cluster, KMeans kmeans ) : double[][]>.Tuple

Method Details

BinarySplit() public méthode

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.
Résultat System

BinarySplit() public méthode

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.
Résultat System

Learn() public méthode

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.
Résultat KMeansClusterCollection