Class TotalFeatureImportanceStatistics
java.lang.Object
co.elastic.clients.elasticsearch.ml.TotalFeatureImportanceStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TotalFeatureImportanceStatistics extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TotalFeatureImportanceStatistics.Builder
Builder forTotalFeatureImportanceStatistics
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TotalFeatureImportanceStatistics>
_DESERIALIZER
Json deserializer forTotalFeatureImportanceStatistics
-
Constructor Summary
Constructors Constructor Description TotalFeatureImportanceStatistics(TotalFeatureImportanceStatistics.Builder builder)
TotalFeatureImportanceStatistics(java.util.function.Function<TotalFeatureImportanceStatistics.Builder,TotalFeatureImportanceStatistics.Builder> fn)
-
Method Summary
Modifier and Type Method Description int
max()
The maximum importance value across all the training data for this feature.double
meanMagnitude()
The average magnitude of this feature across all the training data.int
min()
The minimum importance value across all the training data for this feature.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
setupTotalFeatureImportanceStatisticsDeserializer(DelegatingDeserializer<TotalFeatureImportanceStatistics.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTotalFeatureImportanceStatistics
-
-
Constructor Details
-
TotalFeatureImportanceStatistics
-
TotalFeatureImportanceStatistics
public TotalFeatureImportanceStatistics(java.util.function.Function<TotalFeatureImportanceStatistics.Builder,TotalFeatureImportanceStatistics.Builder> fn)
-
-
Method Details
-
meanMagnitude
public double meanMagnitude()The average magnitude of this feature across all the training data. This value is the average of the absolute values of the importance for this feature.API name:
mean_magnitude
-
max
public int max()The maximum importance value across all the training data for this feature.API name:
max
-
min
public int min()The minimum importance value across all the training data for this feature.API name:
min
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTotalFeatureImportanceStatisticsDeserializer
protected static void setupTotalFeatureImportanceStatisticsDeserializer(DelegatingDeserializer<TotalFeatureImportanceStatistics.Builder> op)
-