Class TrainedModelTreeNode
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.TrainedModelTreeNode
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModelTreeNode>Json deserializer forTrainedModelTreeNode -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAPI name:decision_typefinal BooleanAPI name:default_leftfinal DoubleAPI name:leaf_valuefinal IntegerAPI name:left_childfinal intRequired - API name:node_indexstatic TrainedModelTreeNodefinal IntegerAPI name:right_childvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal IntegerAPI name:split_featurefinal IntegerAPI name:split_gainfinal DoubleAPI name:thresholdtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelTreeNode
-
-
Method Details
-
of
public static TrainedModelTreeNode of(Function<TrainedModelTreeNode.Builder, ObjectBuilder<TrainedModelTreeNode>> fn) -
decisionType
API name:decision_type -
defaultLeft
API name:default_left -
leafValue
API name:leaf_value -
leftChild
API name:left_child -
nodeIndex
public final int nodeIndex()Required - API name:node_index -
rightChild
API name:right_child -
splitFeature
API name:split_feature -
splitGain
API name:split_gain -
threshold
API name:threshold -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelTreeNodeDeserializer
protected static void setupTrainedModelTreeNodeDeserializer(ObjectDeserializer<TrainedModelTreeNode.Builder> op)
-