BCubed_metric: BCubed_metric

Description Usage Arguments Details Value Author(s) References Examples

View source: R/BCubed_metric.r

Description

This is to evaluate the clustering method with Bcubed F sore.

Usage

1
BCubed_metric(L, C, alpha)

Arguments

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

Details

The clustering evaluation method based on Bcubed F metric.

Value

The function returns Bcubed F score of the clustering method. The higher the value is, the better performance the clustering method can get.

Author(s)

Lin Zhang, PhD <lin.zhang@cumt.edu.cn>

References

Reference coming soon!

Examples

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

Example output

[1] 1

DPBBM documentation built on May 1, 2019, 10:25 p.m.