evaluateAdditionnalMetrics: Compute other prediction scores such as precision, recall and...

View source: R/global.lib.R

evaluateAdditionnalMetricsR Documentation

Compute other prediction scores such as precision, recall and f-score

Description

This function computes prediction scores based on the confusion matrix such as accuracy, precision, recall and f-score

Usage

evaluateAdditionnalMetrics(mod, X, y, clf, mode = "train")

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

mode:

training or testing mode

Value

a model whose evaluation parameters are updated


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