Get desktop application:
View/edit binary Protocol Buffers messages
When present, the Ensemble's output is the average of member models' outputs.
Used in:
Used in:
,When left_child_test is undefined for a particular datapoint (e.g. because it's not defined when feature value is missing), the datapoint should go in this direction.
When a datapoint satisfies the test, it should be propagated to the left child.
Used in:
Used in generic_tree_model.BinaryNode.left_child_test. Returns test_result if feature value is not missed. Otherwise BinaryNode.default_direction is used.
value_for_dtype is used to store the type of the feature. The value itself should be ignored, only its type is used.
Used in:
An ordered sequence of models. This message can be used to express bagged or boosted models, as well as custom ensembles.
Used in:
A higher id for more readable printing.
The presence of a certain combination_technique indicates how to combine the outputs of member models in order to compute the ensemble's output.
Used in:
Used in:
, , , ,Used in:
When the feature is missing, the test's outcome is undefined.
Used in:
,Used in:
The interpretation of the values held in the leaves of a decision tree is application specific, but some common cases are: 1) len(vector) = 1, and the floating point value[0] holds the class 0 probability in a two class classification problem. 2) len(vector) = 1, and the integer value[0] holds the class prediction. 3) The floating point value[i] holds the class i probability prediction. 4) The floating point value[i] holds the i-th component of the vector prediction in a regression problem. 5) sparse_vector holds the sparse class predictions for a classification problem with a large number of classes.
For non-standard handling of leaves.
Used in generic_tree_model.BinaryNode.left_child_test. Tests whether the feature's value belongs to the specified list, (or does not belong if inverse=True). For empty list use ConstResultTest instead.
When the feature is missing, the test's outcome is undefined.
A generic handle for any type of model.
Used in:
,Given a FeatureId feature_id, the feature's description is in features[feature_id.id.value].
Used in:
TODO(jonasz): Remove this field, as it's confusing. Ctx: cr/153569450.
Used in:
total value is sum(features[i] * weights[i]).
A SparseVector represents a vector in which only certain select elements are non-zero. Maps labels to values (e.g. class id to probability or count).
Used in:
,When present, the Ensemble's output is the sum of member models' outputs.
Used in:
Used in:
,Following fields are provided for convenience and better readability. Filling them in is not required.
Represents a single value of any type, e.g. 5 or "abc".
Used in:
, , , ,Used in:
, ,