Class TotalFeatureImportance
java.lang.Object
co.elastic.clients.elasticsearch.ml.TotalFeatureImportance
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class TotalFeatureImportance
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TotalFeatureImportance>Json deserializer forTotalFeatureImportance -
Method Summary
Modifier and TypeMethodDescriptionfinal List<TotalFeatureImportanceClass>classes()Required - If the trained model is a classification model, feature importance statistics are gathered per target class value.final StringRequired - The feature for which this importance was calculated.Required - A collection of feature importance statistics related to the training data set for this particular feature.static TotalFeatureImportancevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTotalFeatureImportance
-
-
Method Details
-
of
public static TotalFeatureImportance of(Function<TotalFeatureImportance.Builder, ObjectBuilder<TotalFeatureImportance>> fn) -
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
-
setupTotalFeatureImportanceDeserializer
protected static void setupTotalFeatureImportanceDeserializer(ObjectDeserializer<TotalFeatureImportance.Builder> op)
-