kumulant

ForestRegressionResult

@Serializable
@SerialName(value = "ForestRegressionResult")
data class ForestRegressionResult(val trees: List<TreeRegressionResult>) : Result(source)

Snapshot of a RandomForestRegressionStat: per-tree immutable snapshots.

Constructors

ForestRegressionResult

constructor(trees: List<TreeRegressionResult>)(source)

Properties

totalWeights

Sum of per-tree root totalWeights; nbrTrees * underlyingWeight under bagging.

trees

Per-tree immutable snapshots; non-empty.

Functions

findLeafMerged

Merge the leaves that x routes to across every tree into a single weighted- variance aggregate. Useful for ensembled scoring.

predict