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 class
TotalFeatureImportance.Builder
Builder forTotalFeatureImportance
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TotalFeatureImportance>
_DESERIALIZER
Json 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.String
featureName()
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 TotalFeatureImportance
of(java.util.function.Function<TotalFeatureImportance.Builder,ObjectBuilder<TotalFeatureImportance>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTotalFeatureImportanceDeserializer(ObjectDeserializer<TotalFeatureImportance.Builder> op)
java.lang.String
toString()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupTotalFeatureImportanceDeserializer
protected static void setupTotalFeatureImportanceDeserializer(ObjectDeserializer<TotalFeatureImportance.Builder> op)
-