Class TotalFeatureImportanceStatistics
java.lang.Object
co.elastic.clients.elasticsearch.ml.TotalFeatureImportanceStatistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TotalFeatureImportanceStatistics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description int
max()
Required - The maximum importance value across all the training data for this feature.double
meanMagnitude()
Required - The average magnitude of this feature across all the training data.int
min()
Required - The minimum importance value across all the training data for this feature.static TotalFeatureImportanceStatistics
of(java.util.function.Function<TotalFeatureImportanceStatistics.Builder,ObjectBuilder<TotalFeatureImportanceStatistics>> 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
setupTotalFeatureImportanceStatisticsDeserializer(ObjectDeserializer<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
-
-
Method Details
-
of
public static TotalFeatureImportanceStatistics of(java.util.function.Function<TotalFeatureImportanceStatistics.Builder,ObjectBuilder<TotalFeatureImportanceStatistics>> fn) -
meanMagnitude
public final 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 final int max()Required - The maximum importance value across all the training data for this feature.API name:
max
-
min
public final 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTotalFeatureImportanceStatisticsDeserializer
protected static void setupTotalFeatureImportanceStatisticsDeserializer(ObjectDeserializer<TotalFeatureImportanceStatistics.Builder> op)
-