Description Usage Arguments Value Author(s)
The observed and predicted classes are cross-tabulated for a given classification technique used in the nested loop cross validation. The predicted class that is used to construct the confusion matrix is the class that was predicted most of the time (>= 50%) across all runs of the nested loop.
1 2 3 4 | ## S3 method for class 'nlcv'
confusionMatrix(x, tech, proportions = TRUE, ...)
## S3 method for class 'nlcvConfusionMatrix'
print(x, ...)
|
x |
object for which a confusionMatrix should be produced, e.g.
one produced by the |
tech |
string indicating the classification technique for which the confusion matrix should be returned |
proportions |
logical indicating whether the cells of the matrix
should contain proportions ( |
... |
Dots argument to pass additional parameters to the
|
confusionMatrix
produces an object of class confusionMatrix
which directly inherits from the ftable
class (representing the
confusion matrix)
Willem Talloen and Tobias Verbeke
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.