Class TrainedModel
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.TrainedModel
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModel>Json deserializer forTrainedModel -
Method Summary
Modifier and TypeMethodDescriptionfinal Ensembleensemble()The definition for an ensemble modelstatic TrainedModelvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final TrainedModelTreetree()The definition for a binary decision tree.final TrainedModelTreeNodetreeNode()The definition of a node in a tree.
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModel
-
-
Method Details
-
of
-
tree
The definition for a binary decision tree.API name:
tree -
treeNode
The definition of a node in a tree. There are two major types of nodes: leaf nodes and not-leaf nodes.- Leaf nodes only need node_index and leaf_value defined.
- All other nodes need split_feature, left_child, right_child, threshold, decision_type, and default_left defined.
API name:
tree_node -
ensemble
The definition for an ensemble modelAPI name:
ensemble -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelDeserializer
-