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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TotalFeatureImportance>Json deserializer forTotalFeatureImportance
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forTotalFeatureImportance
 
- 
- 
Method Details- 
ofpublic static TotalFeatureImportance of(Function<TotalFeatureImportance.Builder, ObjectBuilder<TotalFeatureImportance>> fn) 
- 
featureNameRequired - The feature for which this importance was calculated.API name: feature_name
- 
importanceRequired - A collection of feature importance statistics related to the training data set for this particular feature.API name: importance
- 
classesRequired - If the trained model is a classification model, feature importance statistics are gathered per target class value.API name: classes
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupTotalFeatureImportanceDeserializerprotected static void setupTotalFeatureImportanceDeserializer(ObjectDeserializer<TotalFeatureImportance.Builder> op) 
 
-