C# Class KdKeys.DataMining.Clustering.KMeans.KdKMeans

Afficher le fichier Open project: spatial-computing/strabo-learning-ocr-transformation Class Usage Examples

Méthodes publiques

Méthode Description
ClusterDataSet ( ClusterCollection clusters, double data ) : ClusterCollection

Seperates a dataset into clusters or groups with similar characteristics

ClusterDataSet ( int clusterCount, double data ) : ClusterCollection

Seperates a dataset into clusters or groups with similar characteristics

ClusterMean ( double cluster ) : double[]

Calculates The Mean Of A Cluster OR The Cluster Center

EuclideanDistance ( double X, double Y ) : double

Calculates the Euclidean Distance Measure between two data points

KdKMeans ( ) : System
ManhattanDistance ( double X, double Y ) : double

Calculates the Manhattan Distance Measure between two data points

Serialize ( System myObject, string writeToXmlPath ) : bool

Saves or Serializes a Cluster Collection To an Xml file

Method Details

ClusterDataSet() public méthode

Seperates a dataset into clusters or groups with similar characteristics
public ClusterDataSet ( ClusterCollection clusters, double data ) : ClusterCollection
clusters ClusterCollection A collection of data clusters
data double An array containing data to b eclustered
Résultat ClusterCollection

ClusterDataSet() public méthode

Seperates a dataset into clusters or groups with similar characteristics
public ClusterDataSet ( int clusterCount, double data ) : ClusterCollection
clusterCount int The number of clusters or groups to form
data double An array containing data that will be clustered
Résultat ClusterCollection

ClusterMean() public méthode

Calculates The Mean Of A Cluster OR The Cluster Center
public ClusterMean ( double cluster ) : double[]
cluster double /// A two-dimensional array containing a dataset of numeric values ///
Résultat double[]

EuclideanDistance() public méthode

Calculates the Euclidean Distance Measure between two data points
public EuclideanDistance ( double X, double Y ) : double
X double An array with the values of an object or datapoint
Y double An array with the values of an object or datapoint
Résultat double

KdKMeans() public méthode

public KdKMeans ( ) : System
Résultat System

ManhattanDistance() public méthode

Calculates the Manhattan Distance Measure between two data points
public ManhattanDistance ( double X, double Y ) : double
X double An array with the values of an object or datapoint
Y double An array with the values of an object or datapoint
Résultat double

Serialize() public static méthode

Saves or Serializes a Cluster Collection To an Xml file
public static Serialize ( System myObject, string writeToXmlPath ) : bool
myObject System A serializable object to be persisted to an Xml file
writeToXmlPath string The location of the Xml file tha will contain serialized data
Résultat bool