evaluateModel | R Documentation |
Evaluates the fitting score of a model object.
evaluateModel(
mod,
X,
y,
clf,
eval.all = FALSE,
force.re.evaluation = FALSE,
estim.feat.importance = FALSE,
mode = "train"
)
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 |
eval.all: |
should the function evaluate all the scores (default:FALSE) |
force.re.evaluation: |
re-evaluate all the scores even if they exist (default:FALSE) |
estim.feat.importance: |
evaluate the importance in the model object (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 |
a model object with the fitting scores evaluated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.