Use realloc for histogram cache and expose the cache limit. (#9455)

This commit is contained in:
Jiaming Yuan
2023-08-10 14:05:27 +08:00
committed by GitHub
parent a57371ef7c
commit 1caa93221a
10 changed files with 71 additions and 20 deletions

View File

@@ -226,6 +226,15 @@ Parameters for Tree Booster
- ``one_output_per_tree``: One model for each target.
- ``multi_output_tree``: Use multi-target trees.
* ``max_cached_hist_node``, [default = 65536]
Maximum number of cached nodes for CPU histogram.
.. versionadded:: 2.0.0
- For most of the cases this parameter should not be set except for growing deep trees
on CPU.
.. _cat-param:
Parameters for Categorical Feature