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 classTotalFeatureImportanceStatistics.BuilderBuilder forTotalFeatureImportanceStatistics. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TotalFeatureImportanceStatistics>_DESERIALIZERJson deserializer forTotalFeatureImportanceStatistics -
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.static TotalFeatureImportanceStatisticsof(java.util.function.Function<TotalFeatureImportanceStatistics.Builder,ObjectBuilder<TotalFeatureImportanceStatistics>> fn)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(ObjectDeserializer<TotalFeatureImportanceStatistics.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTotalFeatureImportanceStatisticsDeserializer
protected static void setupTotalFeatureImportanceStatisticsDeserializer(ObjectDeserializer<TotalFeatureImportanceStatistics.Builder> op)
-