Module org.elasticsearch.xcore
Class Hyperparameters
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.stats.regression.Hyperparameters
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionHyperparameters(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 TypeMethodDescriptionbooleanstatic HyperparametersfromXContent(XContentParser parser, boolean ignoreUnknownFields) inthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
ALPHA
-
DOWNSAMPLE_FACTOR
-
ETA
-
ETA_GROWTH_RATE_PER_TREE
-
FEATURE_BAG_FRACTION
-
GAMMA
-
LAMBDA
-
MAX_ATTEMPTS_TO_ADD_TREE
-
MAX_OPTIMIZATION_ROUNDS_PER_HYPERPARAMETER
-
MAX_TREES
-
NUM_FOLDS
-
NUM_SPLITS_PER_FEATURE
-
SOFT_TREE_DEPTH_LIMIT
-
SOFT_TREE_DEPTH_TOLERANCE
-
-
Constructor Details
-
Hyperparameters
public Hyperparameters(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
- Throws:
IOException
-
-
Method Details
-
fromXContent
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-