Class Hyperparameter
java.lang.Object
co.elastic.clients.elasticsearch.ml.Hyperparameter
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Hyperparameter extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHyperparameter.BuilderBuilder forHyperparameter. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Hyperparameter>_DESERIALIZERJson deserializer forHyperparameter -
Constructor Summary
Constructors Constructor Description Hyperparameter(Hyperparameter.Builder builder)Hyperparameter(java.util.function.Function<Hyperparameter.Builder,Hyperparameter.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.DoubleabsoluteImportance()A positive number showing how much the parameter influences the variation of the loss function.java.lang.Stringname()Required - Name of the hyperparameter.java.lang.DoublerelativeImportance()A number between 0 and 1 showing the proportion of influence on the variation of the loss function among all tuned hyperparameters.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupHyperparameterDeserializer(DelegatingDeserializer<Hyperparameter.Builder> op)booleansupplied()Required - Indicates if the hyperparameter is specified by the user (true) or optimized (false).doublevalue()Required - The value of the hyperparameter, either optimized or specified by the user.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHyperparameter
-
-
Constructor Details
-
Hyperparameter
-
Hyperparameter
public Hyperparameter(java.util.function.Function<Hyperparameter.Builder,Hyperparameter.Builder> fn)
-
-
Method Details
-
absoluteImportance
@Nullable public java.lang.Double 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
public java.lang.String name()Required - Name of the hyperparameter.API name:
name -
relativeImportance
@Nullable public java.lang.Double 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 boolean supplied()Required - Indicates if the hyperparameter is specified by the user (true) or optimized (false).API name:
supplied -
value
public 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupHyperparameterDeserializer
protected static void setupHyperparameterDeserializer(DelegatingDeserializer<Hyperparameter.Builder> op)
-