tlnagy / Crispulator.jl

✂️ Pooled CRISPR screen optimization tool
Other
19 stars 6 forks source link

auprc computed incorrectly if first label is a true hit #28

Closed tlnagy closed 8 years ago

tlnagy commented 8 years ago
scores = Float64[80,5,157,169,158,166,115,18,6,78,31,5]
classes = [:c,:a,:a,:b,:b,:b,:c,:c,:a,:c,:a,:a]
_auprc, p, r = auprc(scores, classes, Set([:b]))

test