evaluation.msep | 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).
evaluation.r2
, evaluation
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.