evaluation.kappa {fdm2id} | R Documentation |
Kappa evaluation of classification predictions
Description
Evaluation predictions of a classification model according to kappa.
Usage
evaluation.kappa(predictions, gt, ...)
Arguments
predictions |
The predictions of a classification model ( |
gt |
The ground truth ( |
... |
Other parameters. |
Value
The evaluation of the predictions (numeric value).
See Also
evaluation.accuracy
, evaluation.fmeasure
, evaluation.fowlkesmallows
, evaluation.goodness
, evaluation.jaccard
, evaluation.kappa
, evaluation.precision
,
evaluation.precision
, evaluation.recall
,
evaluation
Examples
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)
[Package fdm2id version 0.9.9 Index]