predict.MARSBoost {boostingDEA}R Documentation

Model Prediction for Boosted Multivariate Adaptive Frontier Splines

Description

This function predicts the expected output by a MARSBoost object.

Usage

## S3 method for class 'MARSBoost'
predict(object, newdata, x, class = 1, ...)

Arguments

object

A MARSBoost object.

newdata

data.frame. Set of input variables to predict on.

x

Inputs index.

class

Model for prediction. 1 MARS Boost without smoothing. 2 MARS Boost with smoothing.

...

further arguments passed to or from other methods.

Value

data.frame with the predicted values.


[Package boostingDEA version 0.1.0 Index]