RejStep {gfboost} | R Documentation |
CMB validation step
Description
Validation step to combine different SingBoost models.
Usage
RejStep(
D,
nsing,
Bsing = 1,
ind,
sing = FALSE,
singfam = Gaussian(),
evalfam = Gaussian(),
M = 10,
m_iter = 100,
kap = 0.1,
LS = FALSE,
best = 1
)
Arguments
D |
Data matrix. Has to be an |
nsing |
Number of observations (rows) used for the SingBoost submodels. |
Bsing |
Number of subsamples based on which the SingBoost models are validated. Default is 1. Not to confuse with parameter |
ind |
Vector with indices for dividing the data set into training and validation data. |
sing |
If |
singfam |
A SingBoost family. The SingBoost models are trained based on the corresponding loss function. Default is |
evalfam |
A SingBoost family. The SingBoost models are validated according to the corresponding loss function. Default is |
M |
An integer between 2 and |
m_iter |
Number of SingBoost iterations. Default is 100. |
kap |
Learning rate (step size). Must be a real number in |
LS |
If a |
best |
Needed in the case of localized ranking. The parameter |
Details
Divides the data set into a training and a validation set. The SingBoost models are computed on the training set and evaluated on the validation set based on the loss function corresponding to the selected Boosting family.
Value
loss |
Vector of validation losses. |
occ |
Selection frequencies for each Boosting model. |
References
Werner, T., Gradient-Free Gradient Boosting, PhD Thesis, Carl von Ossietzky University Oldenburg, 2020