pylimma.au_roc
- pylimma.au_roc(truth, stat=None)[source]
Area under the empirical ROC curve.
Mirrors R’s
limma::auROC(truth, stat=NULL).truthis a logical / integer vector of test outcomes. Whenstatis supplied, cases are sorted bystatin decreasing order (ties resolved by averaging sensitivity). WhenstatisNonethe truth order is taken as the ranking.Returns NaN when
truthcontains any NA / NaN, whentruthis constant, or whenstatcontains any NA.- Return type: