Description Usage Arguments Value Methods (by generic) Author(s) See Also
Summarize the predicted probabilities of the classifier, and, if possible, calculate accuracy, sensitivity, specificity, false positive rate, and false negative rate.
1 2 3 4 5 |
object |
An object of class |
x |
An object of class |
... |
Arguments passed to |
Returns a summaryLRCpred
object. If truthCol
was provided in the call to
predict.glmnetLRC
, the result is a list with the following elements:
A matrix with the sensitivity, specificity, false negative rate,
false positive rate, and accuracy for the class designated by the second level of
the truthLabels
argument provided to glmnetLRC
A numeric summary of the predicted probabilities, according to the true class
If truthCol
was not provided in the call to predict.glmnetLRC
, the result is a list with
the following elements:
A tabulation of the number of predictions in each class
A numeric summary of the predicted probabilities, according to the predicted class
print
: Prints a summaryLRCpred
object in a readable format.
Landon Sego
See glmnetLRC
for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.