Class Hyperparameters
java.lang.Object
org.elasticsearch.client.ml.dataframe.stats.regression.Hyperparameters
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class Hyperparameters
extends Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ConstructingObjectParser<Hyperparameters,Void>
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionHyperparameters(Double alpha, Double downsampleFactor, Double eta, Double etaGrowthRatePerTree, Double featureBagFraction, Double gamma, Double lambda, Integer maxAttemptsToAddTree, Integer maxOptimizationRoundsPerHyperparameter, Integer maxTrees, Integer numFolds, Integer numSplitsPerFeature, Double softTreeDepthLimit, Double softTreeDepthTolerance)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAlpha()
getEta()
getGamma()
int
hashCode()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
ALPHA
public static final org.elasticsearch.common.xcontent.ParseField ALPHA -
DOWNSAMPLE_FACTOR
public static final org.elasticsearch.common.xcontent.ParseField DOWNSAMPLE_FACTOR -
ETA
public static final org.elasticsearch.common.xcontent.ParseField ETA -
ETA_GROWTH_RATE_PER_TREE
public static final org.elasticsearch.common.xcontent.ParseField ETA_GROWTH_RATE_PER_TREE -
FEATURE_BAG_FRACTION
public static final org.elasticsearch.common.xcontent.ParseField FEATURE_BAG_FRACTION -
GAMMA
public static final org.elasticsearch.common.xcontent.ParseField GAMMA -
LAMBDA
public static final org.elasticsearch.common.xcontent.ParseField LAMBDA -
MAX_ATTEMPTS_TO_ADD_TREE
public static final org.elasticsearch.common.xcontent.ParseField MAX_ATTEMPTS_TO_ADD_TREE -
MAX_OPTIMIZATION_ROUNDS_PER_HYPERPARAMETER
public static final org.elasticsearch.common.xcontent.ParseField MAX_OPTIMIZATION_ROUNDS_PER_HYPERPARAMETER -
MAX_TREES
public static final org.elasticsearch.common.xcontent.ParseField MAX_TREES -
NUM_FOLDS
public static final org.elasticsearch.common.xcontent.ParseField NUM_FOLDS -
NUM_SPLITS_PER_FEATURE
public static final org.elasticsearch.common.xcontent.ParseField NUM_SPLITS_PER_FEATURE -
SOFT_TREE_DEPTH_LIMIT
public static final org.elasticsearch.common.xcontent.ParseField SOFT_TREE_DEPTH_LIMIT -
SOFT_TREE_DEPTH_TOLERANCE
public static final org.elasticsearch.common.xcontent.ParseField SOFT_TREE_DEPTH_TOLERANCE -
PARSER
public static org.elasticsearch.common.xcontent.ConstructingObjectParser<Hyperparameters,Void> PARSER
-
-
Constructor Details
-
Hyperparameters
public Hyperparameters(Double alpha, Double downsampleFactor, Double eta, Double etaGrowthRatePerTree, Double featureBagFraction, Double gamma, Double lambda, Integer maxAttemptsToAddTree, Integer maxOptimizationRoundsPerHyperparameter, Integer maxTrees, Integer numFolds, Integer numSplitsPerFeature, Double softTreeDepthLimit, Double softTreeDepthTolerance)
-
-
Method Details
-
getAlpha
-
getDownsampleFactor
-
getEta
-
getEtaGrowthRatePerTree
-
getFeatureBagFraction
-
getGamma
-
getLambda
-
getMaxAttemptsToAddTree
-
getMaxOptimizationRoundsPerHyperparameter
-
getMaxTrees
-
getNumFolds
-
getNumSplitsPerFeature
-
getSoftTreeDepthLimit
-
getSoftTreeDepthTolerance
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-