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