ClusterNumber Module
Types
| Type | Description |
Functions and values
| Function or value | Description |
Full Usage:
calcAIC bootstraps iClustering maxK
Parameters:
int
-
iClustering : int -> KClusteringResult<float[]>
-
maxK : int
-
Returns: (int * float) array
|
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
val trueLabels: string array
val trueLabelsAsInt: int array
val clusteredLabels: int array
val nmi: obj
|
Full Usage:
kRuleOfThumb observations
Parameters:
'a seq
-
Returns: float
|
|
Full Usage:
silhouetteIndex clusteredData
Parameters:
float[][][]
-
Returns: float
|
|
Full Usage:
silhouetteIndexKMeans bootstraps iClustering data maxK
Parameters:
int
-
iClustering : int -> KClusteringResult<float[]>
-
data : float[][]
-
maxK : int
-
Returns: SilhouetteResult array
|
Example
|
FSharp.Stats