evaluateFit: Evaluates the fitting score of a model object

View source: R/global.lib.R

evaluateFitR Documentation

Evaluates the fitting score of a model object

Description

Evaluates the fitting score of a model object.

Usage

evaluateFit(mod, X, y, clf, force.re.evaluation = FALSE, mode = "train")

Arguments

mod

: a model object

X:

the data matrix with variables in the rows and observations in the columns

y:

the response vector

clf:

the classifier parameter object

force.re.evaluation:

re-evaluate all the scores even if they exist (default:FALSE)

mode:

A choice from c("train", "test") indicates wether we wish to learn the threthold of the model (default:"train") or not "test" for the c("terinter","bininter","ratio") languages

Value

a model object with the fitting score


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