kumulant

TreeSplitResult

@Serializable
@SerialName(value = "TreeSplitResult")
data class TreeSplitResult(val split: Split, val pos: TreeNodeResult, val neg: TreeNodeResult, val value: WeightedVarianceResult) : TreeNodeResult(source)

Immutable split-node snapshot.

Constructors

Link copied to clipboard
constructor(split: Split, pos: TreeNodeResult, neg: TreeNodeResult, value: WeightedVarianceResult)

Properties

Link copied to clipboard

Subtree taken when split is false.

Link copied to clipboard

Subtree taken when split is true.

Link copied to clipboard

Routing predicate.

Link copied to clipboard
open override val value: WeightedVarianceResult

Aggregate over every observation routed through this node.

Functions

Link copied to clipboard

Route x to the leaf this subtree assigns it to.

TreeSplitResult

constructor(split: Split, pos: TreeNodeResult, neg: TreeNodeResult, value: WeightedVarianceResult)(source)

findLeaf

Route x to the leaf this subtree assigns it to.

neg

Subtree taken when split is false.

pos

Subtree taken when split is true.

split

Routing predicate.

value

open override val value: WeightedVarianceResult(source)

Aggregate over every observation routed through this node.