evaluation.adjr2 | R Documentation |
Evaluation predictions of a regression model according to R2
evaluation.adjr2(predictions, gt, nrow = length(predictions), ncol, ...)
predictions |
The predictions of a regression model ( |
gt |
The ground truth ( |
nrow |
Number of observations. |
ncol |
Number of variables |
... |
Other parameters. |
The evaluation of the predictions (numeric value).
evaluation.msep
, evaluation
require (datasets)
data (trees)
d = splitdata (trees, 3)
model.linreg = LINREG (d$train.x, d$train.y)
pred.linreg = predict (model.linreg, d$test.x)
evaluation.r2 (pred.linreg, d$test.y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.