Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

evaluation.msep

MSEP evaluation of regression predictions


Description

Evaluation predictions of a regression model according to MSEP

Usage

evaluation.msep(predictions, targets)

Arguments

predictions

The predictions of a regression model (vector).

targets

Actual targets of the dataset (vector).

Value

The evaluation of the predictions (numeric value).

See Also

Examples

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)

fdm2id

Data Mining and R Programming for Beginners

v0.9.5
GPL-3
Authors
Alexandre Blansché [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.