Kappa {D2MCS} | R Documentation |
Computes the Kappa Cohen value.
Description
Cohen's Kappa measures the agreement between two raters who each classify N items into C mutually exclusive categories.
Details
Super class
D2MCS::MeasureFunction
-> Kappa
Methods
Public methods
Method new()
Method for initializing the object arguments during runtime.
Usage
Kappa$new(performance.output = NULL)
Arguments
performance.output
An optional
ConfMatrix
used as basis to compute the performance.
Method compute()
The function computes the Kappa achieved by the M.L. model.
Usage
Kappa$compute(performance.output = NULL)
Arguments
performance.output
An optional
ConfMatrix
parameter to define the type of object used as basis to compute theKappa
measure.
Details
This function is automatically invoked by the ClassificationOutput object.
Returns
A numeric vector of size 1 or NULL if an error occurred.
Method clone()
The objects of this class are cloneable with this method.
Usage
Kappa$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
MeasureFunction
, ClassificationOutput
,
ConfMatrix
[Package D2MCS version 1.0.1 Index]