Module org.elasticsearch.xcore
Class BoostedTreeParams
java.lang.Object
org.elasticsearch.xpack.core.ml.dataframe.analyses.BoostedTreeParams
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentFragment
Parameters used by both
Classification and Regression analyses.-
Nested Class Summary
Nested ClassesNested 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 ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionBoostedTreeParams(Double lambda, Double gamma, Double eta, Integer maxTrees, Double featureBagFraction, Integer numTopFeatureImportanceValues, Double alpha, Double etaGrowthRatePerTree, Double softTreeDepthLimit, Double softTreeDepthTolerance, Double downsampleFactor, Integer maxOptimizationRoundsPerHyperparameter) -
Method Summary
Modifier and TypeMethodDescriptionstatic BoostedTreeParams.Builderbuilder()booleangetAlpha()getEta()getGamma()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.ToXContentFragment
isFragment
-
Field Details
-
LAMBDA
-
GAMMA
-
ETA
-
MAX_TREES
-
FEATURE_BAG_FRACTION
-
NUM_TOP_FEATURE_IMPORTANCE_VALUES
-
ALPHA
-
ETA_GROWTH_RATE_PER_TREE
-
SOFT_TREE_DEPTH_LIMIT
-
SOFT_TREE_DEPTH_TOLERANCE
-
DOWNSAMPLE_FACTOR
-
MAX_OPTIMIZATION_ROUNDS_PER_HYPERPARAMETER
-
-
Constructor Details
-
BoostedTreeParams
public BoostedTreeParams(@Nullable Double lambda, @Nullable Double gamma, @Nullable Double eta, @Nullable Integer maxTrees, @Nullable Double featureBagFraction, @Nullable Integer numTopFeatureImportanceValues, @Nullable Double alpha, @Nullable Double etaGrowthRatePerTree, @Nullable Double softTreeDepthLimit, @Nullable Double softTreeDepthTolerance, @Nullable Double downsampleFactor, @Nullable Integer maxOptimizationRoundsPerHyperparameter)
-
-
Method Details
-
getLambda
-
getGamma
-
getEta
-
getMaxTrees
-
getFeatureBagFraction
-
getNumTopFeatureImportanceValues
-
getAlpha
-
getEtaGrowthRatePerTree
-
getSoftTreeDepthLimit
-
getSoftTreeDepthTolerance
-
getDownsampleFactor
-
getMaxOptimizationRoundsPerHyperparameter
-
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() -
builder
-