Description Usage Arguments Value
View source: R/plotPerf_simple.R
performance metrics for model
1 | getPerformance(res, predClasses)
|
res |
(data.frame) result from predicting labels on held-out test set. output of predict() function. columns include ID, STATUS (ground truth) and PRED_CLASS (predicted label) |
predClasses |
(character) patient labels used by classifier |
(list) 1) rocCurve: ROCR performance object for ROC curve 2) prCurve: ROCR performance object for PR curve 3) auroc: Area under ROC curve 4) aupr: Area under PR curve 5) accuracy: Accuracy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.