plotPerfCompound: Plot compound performance metrics

Description Usage Arguments Value

View source: R/plotPerfCompound.R

Description

Plot compound performance metrics

Usage

 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,
  ...
)

Arguments

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'

Value

Returns a precision-recall matrix compatible for plotting and calculating AUC


luannnguyen/mltoolkit documentation built on Aug. 29, 2020, 8:31 a.m.