public class Boost extends DTrees
Modifier and Type | Field and Description |
---|---|
static int |
DISCRETE |
static int |
GENTLE |
static int |
LOGIT |
static int |
REAL |
PREDICT_AUTO, PREDICT_MASK, PREDICT_MAX_VOTE, PREDICT_SUM
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
Modifier | Constructor and Description |
---|---|
protected |
Boost(long addr) |
Modifier and Type | Method and Description |
---|---|
static Boost |
__fromPtr__(long addr) |
static Boost |
create()
Creates the empty model.
|
protected void |
finalize() |
int |
getBoostType()
SEE: setBoostType
|
int |
getWeakCount()
SEE: setWeakCount
|
double |
getWeightTrimRate()
SEE: setWeightTrimRate
|
static Boost |
load(String filepath)
Loads and creates a serialized Boost from a file
Use Boost::save to serialize and store an RTree to disk.
|
static Boost |
load(String filepath,
String nodeName)
Loads and creates a serialized Boost from a file
Use Boost::save to serialize and store an RTree to disk.
|
void |
setBoostType(int val)
getBoostType SEE: getBoostType
|
void |
setWeakCount(int val)
getWeakCount SEE: getWeakCount
|
void |
setWeightTrimRate(double val)
getWeightTrimRate SEE: getWeightTrimRate
|
getCVFolds, getMaxCategories, getMaxDepth, getMinSampleCount, getPriors, getRegressionAccuracy, getTruncatePrunedTree, getUse1SERule, getUseSurrogates, setCVFolds, setMaxCategories, setMaxDepth, setMinSampleCount, setPriors, setRegressionAccuracy, setTruncatePrunedTree, setUse1SERule, setUseSurrogates
calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, predict, train, train, train
clear, getDefaultName, getNativeObjAddr, save
public static final int DISCRETE
public static final int REAL
public static final int LOGIT
public static final int GENTLE
public static Boost __fromPtr__(long addr)
public static Boost create()
public static Boost load(String filepath, String nodeName)
filepath
- path to serialized BoostnodeName
- name of node containing the classifierpublic static Boost load(String filepath)
filepath
- path to serialized Boostpublic double getWeightTrimRate()
public int getBoostType()
public int getWeakCount()
public void setBoostType(int val)
val
- automatically generatedpublic void setWeakCount(int val)
val
- automatically generatedpublic void setWeightTrimRate(double val)
val
- automatically generatedCopyright © 2020. All rights reserved.