java.lang.Object
org.elasticsearch.xpack.core.ml.inference.trainedmodel.metadata.Hyperparameters
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class Hyperparameters extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Field Details

    • HYPERPARAMETER_NAME

      public static final org.elasticsearch.xcontent.ParseField HYPERPARAMETER_NAME
    • VALUE

      public static final org.elasticsearch.xcontent.ParseField VALUE
    • ABSOLUTE_IMPORTANCE

      public static final org.elasticsearch.xcontent.ParseField ABSOLUTE_IMPORTANCE
    • RELATIVE_IMPORTANCE

      public static final org.elasticsearch.xcontent.ParseField RELATIVE_IMPORTANCE
    • SUPPLIED

      public static final org.elasticsearch.xcontent.ParseField SUPPLIED
    • LENIENT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<Hyperparameters,Void> LENIENT_PARSER
    • STRICT_PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<Hyperparameters,Void> STRICT_PARSER
    • hyperparameterName

      public final String hyperparameterName
    • value

      public final double value
    • absoluteImportance

      public final Double absoluteImportance
    • relativeImportance

      public final Double relativeImportance
    • supplied

      public final boolean supplied
  • Constructor Details

  • Method Details

    • fromXContent

      public static Hyperparameters fromXContent(org.elasticsearch.xcontent.XContentParser parser, boolean lenient) throws IOException
      Throws:
      IOException
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • asMap

      public Map<String,Object> asMap()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object