fit_cv_split | R Documentation |
rf_reg_1
, rf_reg_2
,
rf_reg_3
, xgb_reg_1
, xgb_reg_2
, xgb_reg_3
,DL_reg
,DL_reg_1
,
DL_reg_2
,DL_reg_3
,stacking_reg_1
, stacking_reg_2
or stacking_reg_3
.S3 dispatching method for objects of class rf_reg_1
, rf_reg_2
,
rf_reg_3
, xgb_reg_1
, xgb_reg_2
, xgb_reg_3
,DL_reg
,DL_reg_1
,
DL_reg_2
,DL_reg_3
,stacking_reg_1
, stacking_reg_2
or stacking_reg_3
.
Fit a random forest model on an object of class rf_reg_1
.
Three hyperparameters (number of iterations = number of trees ; tree depth ;
learning rate) are tuned using the training set via Bayesian
optimization with 5-folds cross-validation (k-folds CV). A model is fitted on
the training set using the best hyperparameters and model performance is evaluated on the
test set.
Fit a random forest model on an object of class rf_reg_2
.
Three hyperparameters (number of iterations = number of trees ; tree depth ;
learning rate) are tuned using the training set via Bayesian
optimization with 5-folds cross-validation (k-folds CV). A model is fitted on
the training set using the best hyperparameters and model performance is evaluated on the
test set.
Fit a random forest model on an object of class rf_reg_3
.
Three hyperparameters (number of iterations = number of trees ; tree depth ;
learning rate) are tuned using the training set via Bayesian
optimization with 5-folds cross-validation (k-folds CV). A model is fitted on
the training set using the best hyperparameters and model performance is evaluated on the
test set.
Fit a gradient boosted trees model on an object of class xgb_reg_1
.
Three hyperparameters (number of iterations = number of trees ; tree depth ;
learning rate) are tuned using the training set via Bayesian
optimization with 5-folds cross-validation (k-folds CV). A model is fitted on
the training set using the best hyperparameters and model performance is evaluated on the
test set.
Fit a gradient boosted trees model on an object of class xgb_reg_2
.
Three hyperparameters (number of iterations = number of trees ; tree depth ;
learning rate) are tuned using the training set via Bayesian
optimization with 5-folds cross-validation (k-folds CV). A model is fitted on
the training set using the best hyperparameters and model performance is evaluated on the
test set.
Fit a gradient boosted trees model on an object of class xgb_reg_3
.
Three hyperparameters (number of iterations = number of trees ; tree depth ;
learning rate) are tuned using the training set via Bayesian
optimization with 5-folds cross-validation (k-folds CV). A model is fitted on
the training set using the best hyperparameters and model performance is evaluated on the
test set.
## S3 method for class 'DL_reg_1'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 3,
save_model = F,
...
)
## S3 method for class 'DL_reg_2'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 3,
save_model = F,
...
)
## S3 method for class 'DL_reg_3'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 3,
save_model = F,
...
)
fit_cv_split(object, ...)
## Default S3 method:
fit_cv_split(object, ...)
## S3 method for class 'rf_reg_1'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
save_model = F,
...
)
## S3 method for class 'rf_reg_2'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
save_model = F,
...
)
## S3 method for class 'rf_reg_3'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
save_model = F,
...
)
## S3 method for class 'stacking_reg_1'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
kernel_G = "linear",
kernel_E = "polynomial",
path_folder,
save_model = F,
...
)
## S3 method for class 'stacking_reg_2'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
kernel_G = "linear",
kernel_E = "polynomial",
kernel_GE = "polynomial",
save_model = F,
...
)
## S3 method for class 'stacking_reg_3'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 4,
kernel_E = "polynomial",
save_model = F,
...
)
## S3 method for class 'xgb_reg_1'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
save_model = F,
...
)
## S3 method for class 'xgb_reg_2'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
save_model = F,
...
)
## S3 method for class 'xgb_reg_3'
fit_cv_split(
object,
seed,
inner_cv_reps = 1,
inner_cv_folds = 5,
save_model = F,
...
)
object |
an object of class |
seed |
|
inner_cv_reps |
|
inner_cv_folds |
|
res_fitted_split a list
with the following items:
predictions_df
cor_pred_obs
rmse_pred_obs
best_hyperparameters
training
test
res_fitted_split a list
with the following items:
predictions_df
cor_pred_obs
rmse_pred_obs
best_hyperparameters
training
test
res_fitted_split a list
with the following items:
predictions_df
cor_pred_obs
rmse_pred_obs
best_hyperparameters
training
test
res_fitted_split a list
with the following items:
predictions_df
cor_pred_obs
rmse_pred_obs
best_hyperparameters
training
test
res_fitted_split a list
with the following items:
predictions_df
cor_pred_obs
rmse_pred_obs
best_hyperparameters
training
test
res_fitted_split a list
with the following items:
predictions_df
cor_pred_obs
rmse_pred_obs
best_hyperparameters
training
test
Cathy C. Westhues cathy.jubin@hotmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.