Skip to main content

DEFAULT_MIN_REL_VAR_REDUCTION

Constant DEFAULT_MIN_REL_VAR_REDUCTION 

Source
pub const DEFAULT_MIN_REL_VAR_REDUCTION: f64 = 1e-3;
Expand description

Default minimum relative variance reduction for a split.

A split must remove at least 0.1% of the node’s label variance to be taken. At the daemon’s training-set size (2048 samples) a random split on a noise feature removes about 1/sqrt(n) ~= 2% of the variance at best by chance, so the gate is below that; it prunes the splits that only chase sample noise while keeping every split that materially separates the queue bands. The choice is a relative threshold, so it scales with the label magnitude and needs no unit-dependent tuning.