Kappa | R Documentation |
Cohen's Kappa measures the agreement between two raters who each classify N items into C mutually exclusive categories.
κ \hspace{0.1cm} is \hspace{0.1cm} equivalent \hspace{0.1cm} to \hspace{0.1cm} (p_o - p_e) / (1 - p_e) = 1 - (1 - p_0) / (1 - p_e)
D2MCS::MeasureFunction
-> Kappa
new()
Method for initializing the object arguments during runtime.
Kappa$new(performance.output = NULL)
performance.output
An optional ConfMatrix
used as
basis to compute the performance.
compute()
The function computes the Kappa achieved by the M.L. model.
Kappa$compute(performance.output = NULL)
performance.output
An optional ConfMatrix
parameter
to define the type of object used as basis to compute the Kappa
measure.
This function is automatically invoked by the ClassificationOutput object.
A numeric vector of size 1 or NULL if an error occurred.
clone()
The objects of this class are cloneable with this method.
Kappa$clone(deep = FALSE)
deep
Whether to make a deep clone.
MeasureFunction
, ClassificationOutput
,
ConfMatrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.