kumulant

TreeClassificationSplitResult

@Serializable
@SerialName(value = "TreeClassificationSplitResult")
data class TreeClassificationSplitResult(val split: Split, val pos: TreeClassificationNodeResult, val neg: TreeClassificationNodeResult, val value: ClassCountsResult) : TreeClassificationNodeResult(source)

Immutable classification split-node snapshot.

Constructors

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: ClassCountsResult

Aggregate over every observation routed through this node.

Functions

Link copied to clipboard
open override fun findLeaf(x: VectorView): ClassCountsResult

Route x to the leaf this subtree assigns it to.

TreeClassificationSplitResult

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: ClassCountsResult(source)

Aggregate over every observation routed through this node.