]> Piment Noir Git Repositories - freqai-strategies.git/commit
fix: adjust CatBoost depth dynamically based on loss_function (#39)
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 11 Jan 2026 23:26:02 +0000 (00:26 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Jan 2026 23:26:02 +0000 (00:26 +0100)
commit20553583e29f51103526a12db5b5dc82f99471ef
tree5bf76575e7cc471aa6773e4356c526f232f81b37
parentf9ea0987896edcb504dfdc0bb6d6132d3513ebdd
fix: adjust CatBoost depth dynamically based on loss_function (#39)

* sensible depth for catboost

adjusting depth to sensible values to fit VRAM for GPU mode.

* fix: adjust CatBoost depth dynamically based on loss_function

Dynamically adjust max_depth for CatBoost based on task_type and loss_function:
- GPU pairwise modes (YetiRank, PairLogitPairwise, QueryCrossEntropy): max_depth=8
- GPU other modes: max_depth=16
- CPU: max_depth=16

Per CatBoost documentation, pairwise loss functions on GPU are limited to depth 8.

Co-authored-by: jokedoke <13506976+jokedoke@users.noreply.github.com>
* chore: bump strategy version to 3.10.9

* chore: bump model version to 3.10.9

---------

Co-authored-by: jokedoke <jokedoke@gmail.com>
Co-authored-by: jokedoke <13506976+jokedoke@users.noreply.github.com>
quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py
quickadapter/user_data/strategies/QuickAdapterV3.py
quickadapter/user_data/strategies/Utils.py