Switched XGBoost params construction to xgb.params() to align with the R migration guide and reduce deprecation risk.
Replaced alias params with “descriptive” names: eta→learning_rate, gamma→min_split_loss, alpha→reg_alpha, lambda→reg_lambda.
Added seed inside the XGBoost params (not just set.seed()) for more reproducible training/prediction.
In sampler(), preserved integer hyperparameters by generating integer sequences for integer range (critical for past, max_depth).
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.