Store less trees during sampling
Open
@OttoVintola is already working on this.
Since Jun 13, 2026.
enhancement
- Dominant language
- Rust
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
According to @aloctavodia, we can update $n$, where $n < m$, trees during sampling since there is not much statistical difference in the results. In the code, we control $n$ with batch_tune and batch_post—both default to 10% of the trees. During tuning we would store all $m$ trees but during sampling use $m \cdot \text{batch} = B$ trees
Below is an illustrative figure of the approach that displays the sliding window, again with 10% of the trees:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.