public class GbtreeTrainOptions extends CASGeneratedActionOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
GbtreeTrainOptions.DISTRIBUTION |
static class |
GbtreeTrainOptions.MISSING |
CASActionOptions.EnumValue, CASActionOptions.FORMAT| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_NAME |
static java.lang.String |
ACTION_SET_NAME |
static java.lang.String |
KEY_ATTRIBUTES |
static java.lang.String |
KEY_BINORDER |
static java.lang.String |
KEY_CASOUT |
static java.lang.String |
KEY_CODE |
static java.lang.String |
KEY_DISTRIBUTION |
static java.lang.String |
KEY_EARLYSTOP |
static java.lang.String |
KEY_GREEDY |
static java.lang.String |
KEY_INCLUDEMISSING |
static java.lang.String |
KEY_INPUTS |
static java.lang.String |
KEY_LASSO |
static java.lang.String |
KEY_LEAFSIZE |
static java.lang.String |
KEY_LEARNINGRATE |
static java.lang.String |
KEY_M |
static java.lang.String |
KEY_MAXBRANCH |
static java.lang.String |
KEY_MAXLEVEL |
static java.lang.String |
KEY_MERGEBIN |
static java.lang.String |
KEY_MINUSEINSEARCH |
static java.lang.String |
KEY_MISSING |
static java.lang.String |
KEY_MODELID |
static java.lang.String |
KEY_NBINS |
static java.lang.String |
KEY_NOMINALS |
static java.lang.String |
KEY_NTREE |
static java.lang.String |
KEY_RIDGE |
static java.lang.String |
KEY_SEED |
static java.lang.String |
KEY_SINGULAR |
static java.lang.String |
KEY_SUBSAMPLERATE |
static java.lang.String |
KEY_TABLE |
static java.lang.String |
KEY_TARGET |
static java.lang.String |
KEY_VALIDTABLE |
static java.lang.String |
KEY_VARIMP |
static java.lang.String |
KEY_WEIGHT |
FLAGS_EXPAND_ARRAYS, FLAGS_IGNORE_DISPOSITION_ERROR, FLAGS_RETURN_RESULTS_ON_EXCEPTION, FLAGS_SKIP_ACTION_EVENTS, FLAGS_SKIP_RESULTS, HIDDEN_PASSWORD, JSON_NULL, LUA_NIL, PARAMETER_FLAG_ISPASSWORD, PARAMETER_FLAG_ISPATH, PARAMETER_FLAG_ISTABLENAME, PARAMETER_FLAG_ISVAR, PARAMETER_FLAG_REQUIRED, PYTHON_NULL, SERIALIZED_PREFIX| Constructor and Description |
|---|
GbtreeTrainOptions() |
GbtreeTrainOptions(CASActionOptions options) |
| Modifier and Type | Method and Description |
|---|---|
Casinvardesc[] |
getAttr() |
Casinvardesc[] |
getAttribute() |
Casinvardesc[] |
getAttributes() |
Casinvardesc[] |
getAttrs() |
java.lang.Boolean |
getBinOrder() |
Casouttable |
getCasOut() |
Codegen |
getCode() |
java.lang.Object |
getDistribution() |
Tkcasdt_earlyStop |
getEarlyStop() |
java.lang.Boolean |
getGreedy() |
java.lang.Boolean |
getIncludeMissing() |
Casinvardesc[] |
getInput() |
Casinvardesc[] |
getInputs() |
java.lang.Double |
getLasso() |
java.lang.Integer |
getLeafSize() |
java.lang.Double |
getLearningRate() |
java.lang.Integer |
getM() |
java.lang.Integer |
getMaxBranch() |
java.lang.Integer |
getMaxLevel() |
java.lang.Boolean |
getMergeBin() |
java.lang.Integer |
getMinUseInSearch() |
GbtreeTrainOptions.MISSING |
getMissing() |
java.lang.String |
getModelId() |
java.lang.Integer |
getNBins() |
Casinvardesc[] |
getNominal() |
Casinvardesc[] |
getNominals() |
java.lang.Integer |
getNTree() |
java.lang.Double |
getRidge() |
java.lang.Double |
getSamplingRate() |
java.lang.Double |
getSeed() |
java.lang.Object |
getServerDefaultValue(java.lang.String key)
Gets the server default value, if known.
|
java.lang.Double |
getSingular() |
java.lang.Double |
getSubsample() |
java.lang.Double |
getSubSampleRate() |
Castable |
getTable() |
java.lang.String |
getTarget() |
Castable |
getValidTable() |
Casinvardesc[] |
getVarAttrs() |
java.lang.Boolean |
getVarImp() |
java.lang.String |
getWeight() |
GbtreeTrainOptions |
setAttr(Casinvardesc[] value) |
GbtreeTrainOptions |
setAttribute(Casinvardesc[] value) |
GbtreeTrainOptions |
setAttributes(Casinvardesc[] value)
Sets the value of parameter 'attributes': specifies temporary attributes, such as a format, to apply to input variables.
|
GbtreeTrainOptions |
setAttrs(Casinvardesc[] value) |
GbtreeTrainOptions |
setBinOrder(java.lang.Boolean value)
Sets the value of parameter 'binOrder': by default, the bin order is preserved for numeric variables.
|
GbtreeTrainOptions |
setCasOut(Casouttable value)
Sets the value of parameter 'casOut': specifies the table to store the decision tree model in.
|
GbtreeTrainOptions |
setCode(Codegen value)
Sets the value of parameter 'code': requests that the action produce SAS score code.
|
GbtreeTrainOptions |
setDistribution(GbtreeTrainOptions.DISTRIBUTION value)
Sets the value of parameter 'distribution' for alternative 1.
|
GbtreeTrainOptions |
setDistribution(java.lang.Long value)
Sets the value of parameter 'distribution' for alternative 2.
|
GbtreeTrainOptions |
setEarlyStop(Tkcasdt_earlyStop value)
Sets the value of parameter 'earlyStop'.
|
GbtreeTrainOptions |
setGreedy(java.lang.Boolean value)
Sets the value of parameter 'greedy': by default, a greedy search or exhaustive search is used to determine the best split for each variable of each tree node.
|
GbtreeTrainOptions |
setIncludeMissing(java.lang.Boolean value)
Sets the value of parameter 'includeMissing': by default, observations with missing values are included.
|
GbtreeTrainOptions |
setInput(Casinvardesc[] value) |
GbtreeTrainOptions |
setInputs(Casinvardesc[] value)
Sets the value of parameter 'inputs': specifies the input variables to use in the analysis.
|
GbtreeTrainOptions |
setLasso(java.lang.Double value)
Sets the value of parameter 'lasso': specifies the L1 norm regularization on prediction.
|
GbtreeTrainOptions |
setLeafSize(java.lang.Integer value)
Sets the value of parameter 'leafSize': specifies the minimum number of observations on each node.
|
GbtreeTrainOptions |
setLearningRate(java.lang.Double value)
Sets the value of parameter 'learningRate': specifies the learning rate of each tree.
|
GbtreeTrainOptions |
setM(java.lang.Integer value)
Sets the value of parameter 'm': specifies the number of input variables to consider for splitting on a node.
|
GbtreeTrainOptions |
setMaxBranch(java.lang.Integer value)
Sets the value of parameter 'maxBranch': specifies the maximum number of children (branches) allowed for each level of the tree.
|
GbtreeTrainOptions |
setMaxLevel(java.lang.Integer value)
Sets the value of parameter 'maxLevel': specifies the maximum number of the tree level.
|
GbtreeTrainOptions |
setMergeBin(java.lang.Boolean value)
Sets the value of parameter 'mergeBin': by default, when the largest value in one bin matches the lowest value in a neighboring bin, the values are merged into the lower bin.
|
GbtreeTrainOptions |
setMinUseInSearch(java.lang.Integer value)
Sets the value of parameter 'minUseInSearch': specifies a threshold for utilizing missing values in the split search when the missing parameter is set to USEINSEARCH.
|
GbtreeTrainOptions |
setMissing(GbtreeTrainOptions.MISSING value)
Sets the value of parameter 'missing': specifies the missing policy to handle missing values.
|
GbtreeTrainOptions |
setModelId(java.lang.String value)
Sets the value of parameter 'modelId': specifies the model ID variable name to use when generating SAS score code.
|
GbtreeTrainOptions |
setNBins(java.lang.Integer value)
Sets the value of parameter 'nBins': specifies the number of bins to use for numeric variables in the calculation of the decision tree.
|
GbtreeTrainOptions |
setNominal(Casinvardesc[] value) |
GbtreeTrainOptions |
setNominals(Casinvardesc[] value)
Sets the value of parameter 'nominals': specifies the nominal input variables to use in the analysis.
|
GbtreeTrainOptions |
setNTree(java.lang.Integer value)
Sets the value of parameter 'nTree': specifies the number of trees to create.
|
GbtreeTrainOptions |
setRidge(java.lang.Double value)
Sets the value of parameter 'ridge': specifies the L2 norm regularization on prediction.
|
GbtreeTrainOptions |
setSamplingRate(java.lang.Double value) |
GbtreeTrainOptions |
setSeed(java.lang.Double value)
Sets the value of parameter 'seed': specifies the seed for the random number generator.
|
GbtreeTrainOptions |
setSingular(java.lang.Double value)
Sets the value of parameter 'singular': specifies a small value to avoid zero in division.
|
GbtreeTrainOptions |
setSubsample(java.lang.Double value) |
GbtreeTrainOptions |
setSubSampleRate(java.lang.Double value)
Sets the value of parameter 'subSampleRate': specifies the fraction of the data to use for building each tree.
|
GbtreeTrainOptions |
setTable(Castable value)
Sets the value of parameter 'table': specifies the settings for an input table.
|
GbtreeTrainOptions |
setTarget(java.lang.String value)
Sets the value of parameter 'target': specifies the target or response variable for training the decision tree.
|
GbtreeTrainOptions |
setValidTable(Castable value)
Sets the value of parameter 'validTable': specifies the settings for an input table.
|
GbtreeTrainOptions |
setVarAttrs(Casinvardesc[] value) |
GbtreeTrainOptions |
setVarImp(java.lang.Boolean value)
Sets the value of parameter 'varImp': specifies whether the variable importance information is generated.
|
GbtreeTrainOptions |
setWeight(java.lang.String value)
Sets the value of parameter 'weight': specifies a numeric variable that contains the weight of each observation.
|
addActionFlags, addParameterFlag, appendValue, checkForPasswords, clear, containsKey, containsValue, convertToEnumArray, copy, deserialize, entrySet, equals, findOptionsClass, findSetter, get, getActionFlags, getActionName, getActionResponseEventListener, getActionResultEventListener, getActionSetName, getCASClient, getClassName, getDebugOptions, getDispositionEventListener, getFullyQualifiedActionName, getLogEventListener, getLogMessage, getMessageOutputStream, getMessageTagHandler, getParameter, getParameterAsBoolean, getParameterAsByteArray, getParameterAsDouble, getParameterAsDoubleArray, getParameterAsInteger, getParameterAsIntegerArray, getParameterAsLong, getParameterAsLongArray, getParameterAsString, getParameterAsStringArray, getParameterFlags, getParameterIgnoreCase, getParameterIgnoreCase, getParameterKeys, getPerformanceEventListener, getPropertyKey, getSessionID, getUserProperty, getUserPropertyKeys, hashCode, invoke, isEmpty, isFlagSet, isMap, isParameterFlagSet, isPassword, isPath, isRequired, isTable, isVariable, keySet, put, putAll, putAllDeep, putDeep, putDeep, quoteIfNotNull, remove, removeParameter, set, setActionFlags, setActionName, setActionResponseEventListener, setActionResultEventListener, setActionSetName, setCASClient, setDebugOptions, setDispositionEventListener, setFullyQualifiedActionName, setLogEventListener, setLogMessage, setMessageOutputStream, setMessageTagHandler, setParameter, setPerformanceEventListener, setPropertyKey, setSessionID, setUserProperty, size, toCASLString, toLuaString, toLuaString, toOptionsWithGeneratedClasses, toSerialized, toString, toString, toString, upcaseFirstChar, valuespublic static final java.lang.String ACTION_SET_NAME
public static final java.lang.String ACTION_NAME
public static final java.lang.String KEY_TABLE
public static final java.lang.String KEY_TARGET
public static final java.lang.String KEY_INPUTS
public static final java.lang.String KEY_NOMINALS
public static final java.lang.String KEY_ATTRIBUTES
public static final java.lang.String KEY_WEIGHT
public static final java.lang.String KEY_VALIDTABLE
public static final java.lang.String KEY_NBINS
public static final java.lang.String KEY_MAXLEVEL
public static final java.lang.String KEY_MAXBRANCH
public static final java.lang.String KEY_LEAFSIZE
public static final java.lang.String KEY_MISSING
public static final java.lang.String KEY_MINUSEINSEARCH
public static final java.lang.String KEY_GREEDY
public static final java.lang.String KEY_BINORDER
public static final java.lang.String KEY_VARIMP
public static final java.lang.String KEY_CODE
public static final java.lang.String KEY_MODELID
public static final java.lang.String KEY_CASOUT
public static final java.lang.String KEY_MERGEBIN
public static final java.lang.String KEY_INCLUDEMISSING
public static final java.lang.String KEY_NTREE
public static final java.lang.String KEY_SEED
public static final java.lang.String KEY_LEARNINGRATE
public static final java.lang.String KEY_SUBSAMPLERATE
public static final java.lang.String KEY_DISTRIBUTION
public static final java.lang.String KEY_M
public static final java.lang.String KEY_LASSO
public static final java.lang.String KEY_RIDGE
public static final java.lang.String KEY_SINGULAR
public static final java.lang.String KEY_EARLYSTOP
public GbtreeTrainOptions()
public GbtreeTrainOptions(CASActionOptions options)
public java.lang.Object getServerDefaultValue(java.lang.String key)
CASActionOptionsgetServerDefaultValue in class CASActionOptionskey - The parameter keypublic Castable getTable()
public GbtreeTrainOptions setTable(Castable value)
value - The valuepublic java.lang.String getTarget()
public GbtreeTrainOptions setTarget(java.lang.String value)
value - The valuepublic Casinvardesc[] getInputs()
public Casinvardesc[] getInput()
public GbtreeTrainOptions setInputs(Casinvardesc[] value)
value - The valuepublic GbtreeTrainOptions setInput(Casinvardesc[] value)
public Casinvardesc[] getNominals()
public Casinvardesc[] getNominal()
public GbtreeTrainOptions setNominals(Casinvardesc[] value)
value - The valuepublic GbtreeTrainOptions setNominal(Casinvardesc[] value)
public Casinvardesc[] getAttributes()
public Casinvardesc[] getAttribute()
public Casinvardesc[] getAttrs()
public Casinvardesc[] getAttr()
public Casinvardesc[] getVarAttrs()
public GbtreeTrainOptions setAttributes(Casinvardesc[] value)
value - The valuepublic GbtreeTrainOptions setAttribute(Casinvardesc[] value)
public GbtreeTrainOptions setAttrs(Casinvardesc[] value)
public GbtreeTrainOptions setAttr(Casinvardesc[] value)
public GbtreeTrainOptions setVarAttrs(Casinvardesc[] value)
public java.lang.String getWeight()
public GbtreeTrainOptions setWeight(java.lang.String value)
value - The valuepublic Castable getValidTable()
public GbtreeTrainOptions setValidTable(Castable value)
value - The valuepublic java.lang.Integer getNBins()
public GbtreeTrainOptions setNBins(java.lang.Integer value)
value - The valuepublic java.lang.Integer getMaxLevel()
public GbtreeTrainOptions setMaxLevel(java.lang.Integer value)
value - The valuepublic java.lang.Integer getMaxBranch()
public GbtreeTrainOptions setMaxBranch(java.lang.Integer value)
value - The valuepublic java.lang.Integer getLeafSize()
public GbtreeTrainOptions setLeafSize(java.lang.Integer value)
value - The valuepublic GbtreeTrainOptions.MISSING getMissing()
public GbtreeTrainOptions setMissing(GbtreeTrainOptions.MISSING value)
value - The valuepublic java.lang.Integer getMinUseInSearch()
public GbtreeTrainOptions setMinUseInSearch(java.lang.Integer value)
value - The valuepublic java.lang.Boolean getGreedy()
public GbtreeTrainOptions setGreedy(java.lang.Boolean value)
value - The valuepublic java.lang.Boolean getBinOrder()
public GbtreeTrainOptions setBinOrder(java.lang.Boolean value)
value - The valuepublic java.lang.Boolean getVarImp()
public GbtreeTrainOptions setVarImp(java.lang.Boolean value)
value - The valuepublic Codegen getCode()
public GbtreeTrainOptions setCode(Codegen value)
value - The valuepublic java.lang.String getModelId()
public GbtreeTrainOptions setModelId(java.lang.String value)
value - The valuepublic Casouttable getCasOut()
public GbtreeTrainOptions setCasOut(Casouttable value)
value - The valuepublic java.lang.Boolean getMergeBin()
public GbtreeTrainOptions setMergeBin(java.lang.Boolean value)
value - The valuepublic java.lang.Boolean getIncludeMissing()
public GbtreeTrainOptions setIncludeMissing(java.lang.Boolean value)
value - The valuepublic java.lang.Integer getNTree()
public GbtreeTrainOptions setNTree(java.lang.Integer value)
value - The valuepublic java.lang.Double getSeed()
public GbtreeTrainOptions setSeed(java.lang.Double value)
value - The valuepublic java.lang.Double getLearningRate()
public GbtreeTrainOptions setLearningRate(java.lang.Double value)
value - The valuepublic java.lang.Double getSubSampleRate()
public java.lang.Double getSubsample()
public java.lang.Double getSamplingRate()
public GbtreeTrainOptions setSubSampleRate(java.lang.Double value)
value - The valuepublic GbtreeTrainOptions setSubsample(java.lang.Double value)
public GbtreeTrainOptions setSamplingRate(java.lang.Double value)
public java.lang.Object getDistribution()
public GbtreeTrainOptions setDistribution(GbtreeTrainOptions.DISTRIBUTION value)
value - The valuepublic GbtreeTrainOptions setDistribution(java.lang.Long value)
value - The valuepublic java.lang.Integer getM()
public GbtreeTrainOptions setM(java.lang.Integer value)
value - The valuepublic java.lang.Double getLasso()
public GbtreeTrainOptions setLasso(java.lang.Double value)
value - The valuepublic java.lang.Double getRidge()
public GbtreeTrainOptions setRidge(java.lang.Double value)
value - The valuepublic java.lang.Double getSingular()
public GbtreeTrainOptions setSingular(java.lang.Double value)
value - The valuepublic Tkcasdt_earlyStop getEarlyStop()
public GbtreeTrainOptions setEarlyStop(Tkcasdt_earlyStop value)
value - The value