Description Usage Arguments Value
View source: R/plotPerfCompound.R
Plot compound performance metrics
1 2 3 4 5 6 7 8 9 10 | plotPerfCompound(
confusion,
compound.metric = "roc",
title = NULL,
show.auc = T,
auc.rounding = 3,
show.cutoff.colors = T,
legend.in.plot = T,
...
)
|
confusion |
A matrix or data frame with each row being a confusion matrix. The output of confusionMatrix(probs.predicted, logicals.expected, cutoff = 'all') 'weighted' or 'macro' |
... |
Other arguments that can be passed to calcPerfCompound() |
jagged.rough.fix |
Fixed the jagged line when tpr=0 and ppv=0 |
metric.names.as.x.y |
If TRUE, will convert colnames: 'tpr' and 'ppv', to: 'x' and 'y' |
Returns a precision-recall matrix compatible for plotting and calculating AUC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.