Class TrainedModelTreeNode

java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.TrainedModelTreeNode
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class TrainedModelTreeNode
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static TrainedModelTreeNode of​(java.util.function.Function<TrainedModelTreeNode.Builder,​ObjectBuilder<TrainedModelTreeNode>> fn)
    • decisionType

      @Nullable public final java.lang.String decisionType()
      API name: decision_type
    • defaultLeft

      @Nullable public final java.lang.Boolean defaultLeft()
      API name: default_left
    • leafValue

      @Nullable public final java.lang.Double leafValue()
      API name: leaf_value
    • leftChild

      @Nullable public final java.lang.Integer leftChild()
      API name: left_child
    • nodeIndex

      public final int nodeIndex()
      Required - API name: node_index
    • rightChild

      @Nullable public final java.lang.Integer rightChild()
      API name: right_child
    • splitFeature

      @Nullable public final java.lang.Integer splitFeature()
      API name: split_feature
    • splitGain

      @Nullable public final java.lang.Integer splitGain()
      API name: split_gain
    • threshold

      @Nullable public final java.lang.Double threshold()
      API name: threshold
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupTrainedModelTreeNodeDeserializer

      protected static void setupTrainedModelTreeNodeDeserializer​(ObjectDeserializer<TrainedModelTreeNode.Builder> op)