Class FeatureImportance
java.lang.Object
org.elasticsearch.client.ml.inference.results.FeatureImportance
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class FeatureImportance
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeatureImportance.ClassImportance
Nested 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
Fields Modifier and Type Field Description static java.lang.String
CLASSES
static java.lang.String
FEATURE_NAME
static java.lang.String
IMPORTANCE
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
Constructors Constructor Description FeatureImportance(java.lang.String featureName, java.lang.Double importance, java.util.List<FeatureImportance.ClassImportance> classImportance)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object object)
static FeatureImportance
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
java.util.List<FeatureImportance.ClassImportance>
getClassImportance()
java.lang.String
getFeatureName()
java.lang.Double
getImportance()
int
hashCode()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(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, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
IMPORTANCE
public static final java.lang.String IMPORTANCE- See Also:
- Constant Field Values
-
FEATURE_NAME
public static final java.lang.String FEATURE_NAME- See Also:
- Constant Field Values
-
CLASSES
public static final java.lang.String CLASSES- See Also:
- Constant Field Values
-
-
Constructor Details
-
FeatureImportance
public FeatureImportance(java.lang.String featureName, java.lang.Double importance, java.util.List<FeatureImportance.ClassImportance> classImportance)
-
-
Method Details
-
fromXContent
public static FeatureImportance fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
getClassImportance
-
getImportance
public java.lang.Double getImportance() -
getFeatureName
public java.lang.String getFeatureName() -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-