evaluateFit | R Documentation |
Evaluates the fitting score of a model object.
evaluateFit(mod, X, y, clf, force.re.evaluation = 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 |
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 |
a model object with the fitting score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.