public class RTrees extends DTrees
PREDICT_AUTO, PREDICT_MASK, PREDICT_MAX_VOTE, PREDICT_SUM
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
Modifier | Constructor and Description |
---|---|
protected |
RTrees(long addr) |
Modifier and Type | Method and Description |
---|---|
static RTrees |
__fromPtr__(long addr) |
static RTrees |
create() |
protected void |
finalize() |
int |
getActiveVarCount() |
boolean |
getCalculateVarImportance() |
TermCriteria |
getTermCriteria() |
Mat |
getVarImportance() |
void |
getVotes(Mat samples,
Mat results,
int flags) |
static RTrees |
load(java.lang.String filepath) |
static RTrees |
load(java.lang.String filepath,
java.lang.String nodeName) |
void |
setActiveVarCount(int val) |
void |
setCalculateVarImportance(boolean val) |
void |
setTermCriteria(TermCriteria val) |
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, train, train, train
clear, getDefaultName, getNativeObjAddr, save
public static RTrees __fromPtr__(long addr)
public Mat getVarImportance()
public static RTrees create()
public static RTrees load(java.lang.String filepath, java.lang.String nodeName)
public static RTrees load(java.lang.String filepath)
public TermCriteria getTermCriteria()
public boolean getCalculateVarImportance()
public int getActiveVarCount()
public void setActiveVarCount(int val)
public void setCalculateVarImportance(boolean val)
public void setTermCriteria(TermCriteria val)
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2