Class Hyperparameter
java.lang.Object
co.elastic.clients.elasticsearch.ml.Hyperparameter
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Hyperparameter>
Json deserializer forHyperparameter
-
Method Summary
Modifier and TypeMethodDescriptionfinal Double
A positive number showing how much the parameter influences the variation of the loss function.final String
name()
Required - Name of the hyperparameter.static Hyperparameter
final Double
A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters.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
final boolean
supplied()
Required - Indicates if the hyperparameter is specified by the user (true) or optimized (false).toString()
final double
value()
Required - The value of the hyperparameter, either optimized or specified by the user.
-
Field Details
-
_DESERIALIZER
Json deserializer forHyperparameter
-
-
Method Details
-
of
-
absoluteImportance
A positive number showing how much the parameter influences the variation of the loss function. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.API name:
absolute_importance
-
name
Required - Name of the hyperparameter.API name:
name
-
relativeImportance
A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters. For hyperparameters with values that are not specified by the user but tuned during hyperparameter optimization.API name:
relative_importance
-
supplied
public final boolean supplied()Required - Indicates if the hyperparameter is specified by the user (true) or optimized (false).API name:
supplied
-
value
public final double value()Required - The value of the hyperparameter, either optimized or specified by the user.API name:
value
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupHyperparameterDeserializer
protected static void setupHyperparameterDeserializer(ObjectDeserializer<Hyperparameter.Builder> op)
-