TreeEnsembleClassifier#
Domain:
ai.onnx.mlSince version: 5
This operator is DEPRECATED. Please use TreeEnsemble with provides similar functionality.
In order to determine the top class, the ArgMax node can be applied to the output of TreeEnsemble.
To encode class labels, use a LabelEncoder operator.
Tree Ensemble classifier. Returns the top class for each of N inputs.
The attributes named ‘nodes_X’ form a sequence of tuples, associated by
index into the sequences, which must all be of equal length. These tuples
define the nodes.
Similarly, all fields prefixed with `class_` are tuples of votes at the leaves.
A leaf may have multiple votes, where each vote is weighted by
the associated class_weights index.
One and only one of classlabels_strings or classlabels_int64s
will be defined. The class_ids are indices into this list.
All fields ending with _as_tensor can be used instead of the
same parameter without the suffix if the element type is double and not float.
Inputs
X (T1): Input of shape [N,F]
Outputs
Y (T2): N, Top class for each point
Z (tensor(float)): The class score for each class, for each point, a tensor of shape [N,E].
Type Constraints
T1: The input type must be a tensor of a numeric type. Allowed types: tensor(double), tensor(float), tensor(int32), tensor(int64).
T2: The output type will be a tensor of strings or integers, depending on which of the classlabels* attributes is used. Allowed types: tensor(int64), tensor(string).
Differences with previous version (3)#
SchemaDiff: TreeEnsembleClassifier (domain 'ai.onnx.ml')
old version: 3
new version: 5
breaking: no
Documentation:
line similarity: 0.89 (+3/-0 lines)
--- TreeEnsembleClassifier v3
+++ TreeEnsembleClassifier v5
@@ -1,4 +1,7 @@
+ This operator is DEPRECATED. Please use TreeEnsemble with provides similar functionality.
+ In order to determine the top class, the ArgMax node can be applied to the output of TreeEnsemble.
+ To encode class labels, use a LabelEncoder operator.
Tree Ensemble classifier. Returns the top class for each of N inputs.<br>
The attributes named 'nodes_X' form a sequence of tuples, associated by
index into the sequences, which must all be of equal length. These tuples