Module org.elasticsearch.xcore
Class FeatureImportanceBaseline
java.lang.Object
org.elasticsearch.xpack.core.ml.inference.trainedmodel.metadata.FeatureImportanceBaseline
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Doublestatic final ParseFieldstatic final ParseFieldstatic final ConstructingObjectParser<FeatureImportanceBaseline, Void> static final ConstructingObjectParser<FeatureImportanceBaseline, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionFeatureImportanceBaseline(Double baseline, List<FeatureImportanceBaseline.ClassBaseline> classBaselines) -
Method Summary
Modifier and TypeMethodDescriptionasMap()booleanstatic FeatureImportanceBaselinefromXContent(XContentParser parser, boolean lenient) inthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
BASELINE
-
CLASSES
-
LENIENT_PARSER
-
STRICT_PARSER
-
baseline
-
classBaselines
-
-
Constructor Details
-
FeatureImportanceBaseline
- Throws:
IOException
-
FeatureImportanceBaseline
public FeatureImportanceBaseline(Double baseline, List<FeatureImportanceBaseline.ClassBaseline> classBaselines)
-
-
Method Details
-
fromXContent
public static FeatureImportanceBaseline fromXContent(XContentParser parser, boolean lenient) throws IOException - Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
asMap
-
hashCode
public int hashCode()
-