mobForest (version 1.3.1)

prediction.output: Predictions and predictive accuracy estimates

Description

This function takes predictions and predictive accuracy estimates as input arguments and creates objects of class '>prediction.output.

Usage

prediction.output(pred_mean = numeric(), pred_sd = numeric(),
  residual = numeric(), R2_or_acc = numeric(), mse = numeric(),
  overall_r2_or_acc = numeric(), pred_type = character())

Arguments

pred_mean

Mean predictions across trees.

pred_sd

Standard deviation predictions across trees.

residual

Residuals (predicted outcome - observed outcome).

R2_or_acc

R2 or accuracy (for binomial) across trees

mse

MSE across trees

overall_r2_or_acc

Overall R2 or accuracy (for binomial)

pred_type

Out-of-bag data or test data or learning data.

Value

An object of class "prediction.output()".

See Also

'>prediction.output, mobforest.analysis