evaluateAdditionnalMetrics | R Documentation |
This function computes prediction scores based on the confusion matrix such as accuracy, precision, recall and f-score
evaluateAdditionnalMetrics(mod, X, y, clf, mode = "train")
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 |
mode: |
training or testing mode |
a model whose evaluation parameters are updated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.