computeConfusionMatrix | R Documentation |
This function evaluates the accuracy of a model
computeConfusionMatrix(mod, X, y, clf)
mod: |
a model object to be evaluated |
X: |
dataset to classify |
y: |
variable to predict |
clf: |
an object containing the different parameters of the classifier |
a confusion matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.