Class TotalFeatureImportance
java.lang.Object
co.elastic.clients.elasticsearch.ml.TotalFeatureImportance
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TotalFeatureImportance extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTotalFeatureImportance.BuilderBuilder forTotalFeatureImportance. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TotalFeatureImportance>_DESERIALIZERJson deserializer forTotalFeatureImportance -
Method Summary
Modifier and Type Method Description java.util.List<TotalFeatureImportanceClass>classes()Required - If the trained model is a classification model, feature importance statistics are gathered per target class value.java.lang.StringfeatureName()Required - The feature for which this importance was calculated.java.util.List<TotalFeatureImportanceStatistics>importance()Required - A collection of feature importance statistics related to the training data set for this particular feature.static TotalFeatureImportanceof(java.util.function.Function<TotalFeatureImportance.Builder,ObjectBuilder<TotalFeatureImportance>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTotalFeatureImportanceDeserializer(ObjectDeserializer<TotalFeatureImportance.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTotalFeatureImportance
-
-
Method Details
-
of
public static TotalFeatureImportance of(java.util.function.Function<TotalFeatureImportance.Builder,ObjectBuilder<TotalFeatureImportance>> fn) -
featureName
public final java.lang.String featureName()Required - The feature for which this importance was calculated.API name:
feature_name -
importance
Required - A collection of feature importance statistics related to the training data set for this particular feature.API name:
importance -
classes
Required - If the trained model is a classification model, feature importance statistics are gathered per target class value.API name:
classes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTotalFeatureImportanceDeserializer
protected static void setupTotalFeatureImportanceDeserializer(ObjectDeserializer<TotalFeatureImportance.Builder> op)
-