bestMARSBoost {boostingDEA} | R Documentation |
This funcion computes the root mean squared error (RMSE) for a set of MARSBoost models built with a grid of given hyperparameters.
bestMARSBoost(
training,
test,
x,
y,
num.iterations,
learning.rate,
num.terms,
verbose = TRUE
)
training |
Training |
test |
Test |
x |
Column input indexes in |
y |
Column output indexes in |
num.iterations |
Maximum number of iterations the algorithm will perform |
learning.rate |
Learning rate that control overfitting of the algorithm. Value must be in (0,1] |
num.terms |
Maximum number of reflected pairs created by the forward algorithm of MARS. |
verbose |
Controls the verbosity. |
A data.frame
with the sets of hyperparameters and the root
mean squared error (RMSE) associated for each model.