R/RcppExports.R
FmeasureC.Rd
C++ implementation of the F-measure computation
FmeasureC(pred, ref)
vector of a predicted partition
vector of a reference partition
pred <- c(1,1,2,3,2,3) ref <- c(2,2,1,1,1,3) FmeasureC(pred, ref) #> [1] 0.8444444