R/LightGBM.R
setLightGBM.Rd
Create setting for gradient boosting machine model using lightGBM (https://github.com/microsoft/LightGBM/tree/master/R-package).
The number of computer threads to use (how many cores do you have?)
If the performance does not increase over earlyStopRound number of trees then training stops (this prevents overfitting)
Number of boosting iterations.
This hyperparameter sets the maximum number of leaves. Increasing this parameter can lead to higher model complexity and potential overfitting.
This hyperparameter sets the maximum depth . Increasing this parameter can also lead to higher model complexity and potential overfitting.
This hyperparameter sets the minimum number of data points that must be present in a leaf node. Increasing this parameter can help to reduce overfitting
This hyperparameter controls the step size at each iteration of the gradient descent algorithm. Lower values can lead to slower convergence but may result in better performance.
This hyperparameter controls L1 regularization, which can help to reduce overfitting by encouraging sparse models.
This hyperparameter controls L2 regularization, which can also help to reduce overfitting by discouraging large weights in the model.
Controls weight of positive class in loss - useful for imbalanced classes
This parameter cannot be used at the same time with scalePosWeight, choose only one of them. While enabling this should increase the overall performance metric of your model, it will also result in poor estimates of the individual class probabilities.
An option to add a seed when training the final model