performance-class {ROCR} | R Documentation |
Object to capture the result of a performance evaluation, optionally collecting evaluations from several cross-validation or bootstrapping runs.
A performance
object can capture information from four
different evaluation scenarios:
performance( predObj, 'acc' )
). Here,
x.values
contains the cutoffs, y.values
the
corresponding values of the performance measure, and
alpha.values
is empty.performance( predObj,
'tpr', 'fpr' )
). In this case, the cutoffs are stored in
alpha.values
, while x.values
and y.values
contain the corresponding values of the two performance measures.performance( predObj, 'ecost' )
). Here, the measure values are
stored in y.values
, while the corresponding values of the
obligatory axis are stored in x.values
, and alpha.values
is empty.performance( predObj, 'auc' )
). The value is then stored in
y.values
, while x.values
and alpha.values
are
empty.
Objects can be created by using the
performance
function.
x.name
:y.name
:alpha.name
:alpha.name
is either none
or cutoff
.x.values
:y.values
:alpha.values
:Tobias Sing tobias.sing@mpi-sb.mpg.de, Oliver Sander osander@mpi-sb.mpg.de
A detailed list of references can be found on the ROCR homepage at http://rocr.bioinf.mpi-sb.mpg.de.
prediction
, performance
,
prediction-class
, plot.performance