]> Piment Noir Git Repositories - freqai-strategies.git/commit
fix(quickadapter): restrict CatBoost grow_policy for Ordered boosting
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 8 Jan 2026 21:10:38 +0000 (22:10 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 8 Jan 2026 21:10:38 +0000 (22:10 +0100)
commit396cac04ff614bfcf68445e26576463f111dfa30
tree0fe0383b8ececa5d462b0d8f39aebc8a35cc7e9c
parent4fa5a399be06418f8e523cfc77d350013f8fccd9
fix(quickadapter): restrict CatBoost grow_policy for Ordered boosting

CatBoost's Ordered boosting mode only supports SymmetricTree grow policy.
When Optuna suggested Ordered boosting with Depthwise or Lossguide grow
policies, CatBoost raised: "Ordered boosting is not supported for
nonsymmetric trees."

This fix conditionally restricts grow_policy options to SymmetricTree when
boosting_type is Ordered, preventing invalid parameter combinations during
hyperparameter optimization.

Reference: catboost/catboost source (catboost_options.cpp:~758)
quickadapter/user_data/strategies/Utils.py