train_final_model: Train Final Model

Description Usage Arguments Value Note

Description

This function trains the final model with the final hyperparameters found after model tunning

Usage

1
2
train_final_model(X_train = datos_preprocessed$X_train,
  y_train = datos_preprocessed$y_train)

Arguments

X_train

train predictors

y_train

test response

Value

trained gradient boosted model with gaussian loss function.

Note

when using the output model for prediction, the data should be a data.frame object and not a tibble, if not the function will throw an error


santiago1234/codonr documentation built on Dec. 9, 2019, 10:15 a.m.