C++ implementation of the F-measure computation
FmeasureC(pred, ref)
pred
vector of a predicted partition
ref
vector of a reference partition
pred <- c(1,1,2,3,2,3) ref <- c(2,2,1,1,1,3) FmeasureC(pred, ref)