| evaluation.kappa | R Documentation |
Evaluation predictions of a classification model according to kappa.
evaluation.kappa(predictions, gt, ...)
predictions |
The predictions of a classification model ( |
gt |
The ground truth ( |
... |
Other parameters. |
The evaluation of the predictions (numeric value).
evaluation.accuracy, evaluation.fmeasure, evaluation.fowlkesmallows, evaluation.goodness, evaluation.jaccard, evaluation.kappa, evaluation.precision,
evaluation.precision, evaluation.recall,
evaluation
require (datasets)
data (iris)
d = splitdata (iris, 5)
model.nb = NB (d$train.x, d$train.y)
pred.nb = predict (model.nb, d$test.x)
evaluation.kappa (pred.nb, d$test.y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.