Creates a R6 confusion matrix from the
confusionMatrix caret package.
new()Method to create a confusion matrix object from a
caret confusionMatrix
ConfMatrix$new(confMatrix)confMatrixA caret confusionMatrix argument.
getConfusionMatrix()The function obtains the confusionMatrix
following the same structured as defined in the caret package
ConfMatrix$getConfusionMatrix()A confusionMatrix object.
getTP()The function is used to compute the number of True Positive values achieved.
ConfMatrix$getTP()A numeric vector of size 1.
getTN()The function computes the True Negative values.
ConfMatrix$getTN()A numeric vector of size 1.
getFN()The function returns the number of Type II errors (False Negative).
ConfMatrix$getFN()A numeric vector of size 1.
getFP()The function returns the number of Type I errors (False Negative).
ConfMatrix$getFP()A numeric vector of size 1.
clone()The objects of this class are cloneable with this method.
ConfMatrix$clone(deep = FALSE)deepWhether to make a deep clone.
D2MCS, MeasureFunction,
ClassificationOutput