Survey banner
Share your feedback on the Dataiku documentation with this 5 min survey. Thanks! TAKE THE SURVEY

L1 , L2 regularization values for XGBoost model

liap
Level 1
L1 , L2 regularization values for XGBoost model

Hi, 

I am currently training an XGBoost model using the DSS Lab. In the process, I am faced with a limitation on the values I can select for hyperparameter tuning, specifically for L1 and L2 regularization. The range for these regularization values is restricted to [0,1], but I would like to choose values higher than 1. The warning message I receive states that the value must be less than or equal to 1. I have reviewed the official XGBoost documentation XGBoost Parameters — xgboost 1.7.6 documentation and did not find any reference to this limitation for L1 (reg_alpha) and L2 (reg_lambda) regularization.

Do you have any suggestions for overcoming this limitation?

0 Kudos
1 Reply
Turribeach

This doesn't answer your question directly but do note that you can train XGBoost models using sklearn manually using Python code recipes as you would do if you were doing modelling in pure Python.

0 Kudos