Class TrainedModelInferenceClassImportance
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelInferenceClassImportance
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TrainedModelInferenceClassImportance extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrainedModelInferenceClassImportance.BuilderBuilder forTrainedModelInferenceClassImportance. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelInferenceClassImportance>_DESERIALIZERJson deserializer forTrainedModelInferenceClassImportance -
Method Summary
Modifier and Type Method Description java.lang.StringclassName()Required - API name:class_namedoubleimportance()Required - API name:importancestatic TrainedModelInferenceClassImportanceof(java.util.function.Function<TrainedModelInferenceClassImportance.Builder,ObjectBuilder<TrainedModelInferenceClassImportance>> 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 voidsetupTrainedModelInferenceClassImportanceDeserializer(ObjectDeserializer<TrainedModelInferenceClassImportance.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 forTrainedModelInferenceClassImportance
-
-
Method Details
-
of
public static TrainedModelInferenceClassImportance of(java.util.function.Function<TrainedModelInferenceClassImportance.Builder,ObjectBuilder<TrainedModelInferenceClassImportance>> fn) -
className
public final java.lang.String className()Required - API name:class_name -
importance
public final double importance()Required - API name:importance -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTrainedModelInferenceClassImportanceDeserializer
protected static void setupTrainedModelInferenceClassImportanceDeserializer(ObjectDeserializer<TrainedModelInferenceClassImportance.Builder> op)
-