predict.MARSAdapted: Model Prediction for Adapted Multivariate Adaptive Frontier...

View source: R/Predictions.R

predict.MARSAdaptedR Documentation

Model Prediction for Adapted Multivariate Adaptive Frontier Splines.

Description

This function predicts the expected output by a MARS object.

Usage

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

Arguments

object

A MARSAdapted object.

newdata

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

x

Inputs index.

class

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

...

further arguments passed to or from other methods.

Value

data.frame with the predicted values.


boostingDEA documentation built on May 31, 2023, 6:33 p.m.