computeConfusionMatrix: Evaluates the confusion Matrix of the predicted class and the...

View source: R/global.lib.R

computeConfusionMatrixR Documentation

Evaluates the confusion Matrix of the predicted class and the class to predict

Description

This function evaluates the accuracy of a model

Usage

computeConfusionMatrix(mod, X, y, clf)

Arguments

mod:

a model object to be evaluated

X:

dataset to classify

y:

variable to predict

clf:

an object containing the different parameters of the classifier

Value

a confusion matrix


predomics/predomicspkg documentation built on Dec. 11, 2024, 11:06 a.m.