HalfSpaceTreesResult
@Serializable
@SerialName(value = "HalfSpaceTreesResult")
Snapshot of HalfSpaceTreesStat: the immutable tree structure plus the reference-window per-leaf masses. Exposes score to evaluate a query vector against the trees' frozen distribution.
Constructors
HalfSpaceTreesResult
constructor(featureSize: Int, numTrees: Int, height: Int, totalWeights: Double, featureIndices: IntArray, thresholds: DoubleArray, referenceMass: DoubleArray)(source)
Properties
featureIndices
Flat numTrees * (2^height - 1) array of per-internal-node feature indices.
featureSize
Number of input features.
height
numTrees
referenceMass
Flat numTrees * 2^height array of per-leaf masses summed over the reference window.
thresholds
Flat numTrees * (2^height - 1) array of per-internal-node split thresholds.
totalWeights
Cumulative observation weight folded into the reference window.