View source: R/createConfusionMatrix.R
This function returns a data frame with a confusion matrix for the given predictions, having the fields "prediction" and "response".
1 | createConfusionMatrix(predictions, threshold = 0.5)
|
predictions |
data frame with fields "prediction" and "response" |
threshold |
threshold value for success |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.