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 classTotalFeatureImportanceStatistics.BuilderBuilder forTotalFeatureImportanceStatistics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TotalFeatureImportanceStatistics>_DESERIALIZERJson 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 intmax()Required - The maximum importance value across all the training data for this feature.doublemeanMagnitude()Required - The average magnitude of this feature across all the training data.intmin()Required - The minimum importance value across all the training data for this feature.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTotalFeatureImportanceStatisticsDeserializer(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()Required - 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()Required - The maximum importance value across all the training data for this feature.API name:
max -
min
public int min()Required - The minimum importance value across all the training data for this feature.API name:
min -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTotalFeatureImportanceStatisticsDeserializer
protected static void setupTotalFeatureImportanceStatisticsDeserializer(DelegatingDeserializer<TotalFeatureImportanceStatistics.Builder> op)
-