Class TreeNode
java.lang.Object
org.elasticsearch.client.ml.inference.trainedmodel.tree.TreeNode
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldstatic Stringstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldstatic org.elasticsearch.common.xcontent.ParseFieldFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionstatic TreeNode.Builderbuilder(int nodeIndex)booleanstatic TreeNode.BuilderfromXContent(org.elasticsearch.common.xcontent.XContentParser parser)inthashCode()toString()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
- See Also:
- Constant Field Values
-
DECISION_TYPE
public static final org.elasticsearch.common.xcontent.ParseField DECISION_TYPE -
THRESHOLD
public static final org.elasticsearch.common.xcontent.ParseField THRESHOLD -
LEFT_CHILD
public static final org.elasticsearch.common.xcontent.ParseField LEFT_CHILD -
RIGHT_CHILD
public static final org.elasticsearch.common.xcontent.ParseField RIGHT_CHILD -
DEFAULT_LEFT
public static final org.elasticsearch.common.xcontent.ParseField DEFAULT_LEFT -
SPLIT_FEATURE
public static final org.elasticsearch.common.xcontent.ParseField SPLIT_FEATURE -
NODE_INDEX
public static final org.elasticsearch.common.xcontent.ParseField NODE_INDEX -
SPLIT_GAIN
public static final org.elasticsearch.common.xcontent.ParseField SPLIT_GAIN -
LEAF_VALUE
public static final org.elasticsearch.common.xcontent.ParseField LEAF_VALUE -
NUMBER_SAMPLES
public static final org.elasticsearch.common.xcontent.ParseField NUMBER_SAMPLES
-
-
Method Details
-
fromXContent
public static TreeNode.Builder fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
getOperator
-
getThreshold
-
getSplitFeature
-
getNodeIndex
-
getSplitGain
-
getLeafValue
-
isDefaultLeft
-
getLeftChild
-
getRightChild
-
getNumberSamples
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
builder
-