Метод | Описание | |
---|---|---|
CalculateEuclideanDistance ( |
Calculate the euclidean distance between a centroid and data.
|
|
Iteration ( ) : void |
Perform a single training iteration.
|
|
Iteration ( int count ) : void |
The number of iterations to perform.
|
|
KMeansClustering ( int k, IMLDataSet theSet ) : System |
Construct the K-Means object.
|
|
NumClusters ( ) : int |
Метод | Описание | |
---|---|---|
CalcWcss ( ) : void |
Calculate the within-cluster sum of squares (WCSS).
|
|
GetMaxValue ( int index ) : double |
Get the maximum, over all the data, for the specified index.
|
|
GetMinValue ( int index ) : double |
Get the minimum, over all the data, for the specified index.
|
|
SetInitialCentroids ( ) : void |
Setup the initial centroids.
|
public static CalculateEuclideanDistance ( |
||
c | The centroid to use. | |
data | IMLData | The data to use. |
Результат | double |
public KMeansClustering ( int k, IMLDataSet theSet ) : System | ||
k | int | The number of clusters to use. |
theSet | IMLDataSet | The dataset to cluster. |
Результат | System |