View source: R/4_metaClustering.R
FMeasure | R Documentation |
Compute the F measure between two clustering results
FMeasure(realClusters, predictedClusters, silent = FALSE)
realClusters |
Array containing real cluster labels for each sample |
predictedClusters |
Array containing predicted cluster labels for each sample |
silent |
Logical, if FALSE (default), print some information about precision and recall |
F measure score
# Generate some random data as an example
realClusters <- sample(1:5,100,replace = TRUE)
predictedClusters <- sample(1:6, 100, replace = TRUE)
# Calculate the FMeasure
FMeasure(realClusters,predictedClusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.