Description Usage Arguments Details Value Author(s) References Examples
View source: R/BCubed_metric.r
This is to evaluate the clustering method with Bcubed F sore.
1 | BCubed_metric(L, C, alpha)
|
L |
real label of classes |
C |
classification label of classes drawn by clustering method |
alpha |
F metric parameter which used to average precision and recall |
The clustering evaluation method based on Bcubed F metric.
The function returns Bcubed F score of the clustering method. The higher the value is, the better performance the clustering method can get.
Lin Zhang, PhD <lin.zhang@cumt.edu.cn>
Reference coming soon!
1 2 3 4 5 | L <- c(1,1,2,1,1,2,2)
C <- c(2,2,1,2,2,1,1)
alpha <- 0.5
Bcubed_score <- BCubed_metric(L, C, alpha)
Bcubed_score
|
[1] 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.