Description Usage Arguments Details Value Note
For building confusion matrices
1 | reclassProb(yhats, thresh)
|
yhats |
a dataframe resulting from a call to |
thresh |
a numeric from 0 to 1 representing the cutpoint for the probability |
Only works for caretEnsemble, train, and glm objects currently. Corrects for the differential ordering in what the predicted probability is with respect to.
a vector the length of rows in yhats representing the conversion from a numeric probability to a factor using the threshold thresh
If you find errors, it is likely that the probabilities are inverted. Please report this.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.