Kappa evaluation of classification predictions
Evaluation predictions of a classification model according to kappa.
evaluation.kappa(predictions, targets, ...)
predictions |
The predictions of a classification model ( |
targets |
Actual targets of the dataset ( |
... |
Other parameters. |
The evaluation of the predictions (numeric value).
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.