Learn R Programming

NPflow (version 0.9.0)

Flimited: Compute a limited F-measure

Description

A limited version of F-measure that only takes into accout small clusters

Usage

Flimited(n_small_clst, pred, ref)

Arguments

n_small_clst
an integer for limit size of the small cluster
pred
vector of a predicted partition
ref
vector of a reference partition

References

Hejblum BP, Alkhassim C, Gottardo R, Caron F, Thiebaut R, Sequential Dirichlet Process Mixtures of Multivariate Skew t-distributions for Model-based Clustering of Flow Cytometry Data, in preparation.

Examples

Run this code
pred <- c(rep(1, 5),rep(2, 8),rep(3,10))
ref <- c(rep(1, 5),rep(c(2,3), 4),rep(c(3,2),5))
FmeasureC(pred, ref)
Flimited(6, pred, ref)

Run the code above in your browser using DataLab