TreeClassificationResult
@Serializable
@SerialName(value = "TreeClassificationResult")
Classification mirror of TreeRegressionResult.
Properties
TreeClassificationResult
findLeaf
Walk to the leaf the context x resolves to and return its class-count snapshot.
numClasses
Number of classes the tree is configured for.
predict
Argmax class index at the leaf x resolves to.
probabilities
Class probabilities at the leaf x resolves to.
root
Root of the snapshot tree.
totalWeights
Cumulative weight folded into the tree.