Class Hyperparameter

java.lang.Object
co.elastic.clients.elasticsearch.ml.Hyperparameter
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Hyperparameter extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • absoluteImportance

      @Nullable public final 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 final String name()
      Required - Name of the hyperparameter.

      API name: name

    • relativeImportance

      @Nullable public final 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 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

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupHyperparameterDeserializer

      protected static void setupHyperparameterDeserializer(ObjectDeserializer<Hyperparameter.Builder> op)