evaluation.msep {fdm2id} | R Documentation |
Evaluation predictions of a regression model according to MSEP
evaluation.msep(predictions, gt, ...)
predictions |
The predictions of a regression model ( |
gt |
The ground truth ( |
... |
Other parameters. |
The evaluation of the predictions (numeric value).
require (datasets)
data (trees)
d = splitdata (trees, 3)
model.lin = LINREG (d$train.x, d$train.y)
pred.lin = predict (model.lin, d$test.x)
evaluation.msep (pred.lin, d$test.y)