TreeRegressionResult
@Serializable
@SerialName(value = "TreeRegressionResult")
Immutable snapshot of a RegressionTree at read time. Carries the tree structure (split predicates + per-node weighted-variance aggregates) so callers can route a context vector to its leaf without reaching back into the live stat.
The root's WeightedVarianceResult is exposed as the canonical scalar snapshot; callers wanting context-specific predictions use findLeaf or predict.
Properties
TreeRegressionResult
findLeaf
Walk to the leaf the context resolves to.
predict
Mean of the leaf the context resolves to.
rootMean
root
Root of the snapshot tree.
totalWeights
Cumulative weight folded into the tree.