java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.stats.classification.Hyperparameters
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class Hyperparameters extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY, EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
    Hyperparameters(String classAssignmentObjective, double alpha, double downsampleFactor, double eta, double etaGrowthRatePerTree, double featureBagFraction, double gamma, double lambda, int maxAttemptsToAddTree, int maxOptimizationRoundsPerHyperparameter, int maxTrees, int numFolds, int numSplitsPerFeature, double softTreeDepthLimit, double softTreeDepthTolerance)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    fromXContent(org.elasticsearch.xcontent.XContentParser parser, boolean ignoreUnknownFields)
     
    int
     
    org.elasticsearch.xcontent.XContentBuilder
    toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment
  • Field Details

    • CLASS_ASSIGNMENT_OBJECTIVE

      public static final org.elasticsearch.xcontent.ParseField CLASS_ASSIGNMENT_OBJECTIVE
    • ALPHA

      public static final org.elasticsearch.xcontent.ParseField ALPHA
    • DOWNSAMPLE_FACTOR

      public static final org.elasticsearch.xcontent.ParseField DOWNSAMPLE_FACTOR
    • ETA

      public static final org.elasticsearch.xcontent.ParseField ETA
    • ETA_GROWTH_RATE_PER_TREE

      public static final org.elasticsearch.xcontent.ParseField ETA_GROWTH_RATE_PER_TREE
    • FEATURE_BAG_FRACTION

      public static final org.elasticsearch.xcontent.ParseField FEATURE_BAG_FRACTION
    • GAMMA

      public static final org.elasticsearch.xcontent.ParseField GAMMA
    • LAMBDA

      public static final org.elasticsearch.xcontent.ParseField LAMBDA
    • MAX_ATTEMPTS_TO_ADD_TREE

      public static final org.elasticsearch.xcontent.ParseField MAX_ATTEMPTS_TO_ADD_TREE
    • MAX_OPTIMIZATION_ROUNDS_PER_HYPERPARAMETER

      public static final org.elasticsearch.xcontent.ParseField MAX_OPTIMIZATION_ROUNDS_PER_HYPERPARAMETER
    • MAX_TREES

      public static final org.elasticsearch.xcontent.ParseField MAX_TREES
    • NUM_FOLDS

      public static final org.elasticsearch.xcontent.ParseField NUM_FOLDS
    • NUM_SPLITS_PER_FEATURE

      public static final org.elasticsearch.xcontent.ParseField NUM_SPLITS_PER_FEATURE
    • SOFT_TREE_DEPTH_LIMIT

      public static final org.elasticsearch.xcontent.ParseField SOFT_TREE_DEPTH_LIMIT
    • SOFT_TREE_DEPTH_TOLERANCE

      public static final org.elasticsearch.xcontent.ParseField SOFT_TREE_DEPTH_TOLERANCE
  • Constructor Details

    • Hyperparameters

      public Hyperparameters(String classAssignmentObjective, double alpha, double downsampleFactor, double eta, double etaGrowthRatePerTree, double featureBagFraction, double gamma, double lambda, int maxAttemptsToAddTree, int maxOptimizationRoundsPerHyperparameter, int maxTrees, int numFolds, int numSplitsPerFeature, double softTreeDepthLimit, double softTreeDepthTolerance)
    • Hyperparameters

      public Hyperparameters(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • fromXContent

      public static Hyperparameters fromXContent(org.elasticsearch.xcontent.XContentParser parser, boolean ignoreUnknownFields)
    • 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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object