Type | Description |
Function or value | Description |
Full Usage:
calcAIC bootstraps iClustering maxK
Parameters:
int
-
iClustering : int -> KClusteringResult<float[]>
maxK : int
Returns: (int * float)[]
|
Example
|
Full Usage:
calcNMI correctLabels clusteredLabels
Parameters:
int[]
-
True data labels represented by integers
clusteredLabels : int[]
-
Cluster indices represented by integers
Returns: float
Returns a NMI between 0 and 1. With 1 being a perfect match.
|
The correctLabels and Clustered Labels must have the same length
Example
|
Full Usage:
kRuleOfThumb observations
Parameters:
seq<'a>
-
Returns: float
|
Example
|
Full Usage:
silhouetteIndex clusteredData
Parameters:
float[][][]
-
Returns: float
|
Calculates the silhouette score for a clustered data set where the coordinates of each data point is given as float [].
Example
|
Full Usage:
silhouetteIndexKMeans bootstraps iClustering data maxK
Parameters:
int
-
iClustering : int -> KClusteringResult<float[]>
-
data : float[][]
-
maxK : int
-
Returns: SilhouetteResult[]
|
The silhouette index can be used to determine the optimal cluster number in k means clustering.
Example
|