kumulant

ThresholdSplit

@Serializable
@SerialName(value = "ThresholdSplit")
data class ThresholdSplit(val featureIndex: Int, val threshold: Double) : Split(source)

Route by row[featureIndex] <= threshold. Threshold is inclusive on the "pos" side.

Constructors

Link copied to clipboard
constructor(featureIndex: Int, threshold: Double)

Properties

Link copied to clipboard

Index into the context vector that the split inspects.

Link copied to clipboard

Inclusive threshold separating pos (<=) from neg (>).

Functions

Link copied to clipboard
open override fun direction(row: VectorView): Boolean

Evaluate the predicate against the context row.

Link copied to clipboard
open override fun toString(): String

ThresholdSplit

constructor(featureIndex: Int, threshold: Double)(source)

direction

open override fun direction(row: VectorView): Boolean(source)

Evaluate the predicate against the context row.

featureIndex

Index into the context vector that the split inspects.

threshold

Inclusive threshold separating pos (<=) from neg (>).

toString

open override fun toString(): String(source)