Modifier and Type | Field and Description |
---|---|
static int |
PREDICT_AUTO |
static int |
PREDICT_MASK |
static int |
PREDICT_MAX_VOTE |
static int |
PREDICT_SUM |
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
Modifier | Constructor and Description |
---|---|
protected |
DTrees(long addr) |
Modifier and Type | Method and Description |
---|---|
static DTrees |
__fromPtr__(long addr) |
static DTrees |
create() |
protected void |
finalize() |
int |
getCVFolds() |
int |
getMaxCategories() |
int |
getMaxDepth() |
int |
getMinSampleCount() |
Mat |
getPriors() |
float |
getRegressionAccuracy() |
boolean |
getTruncatePrunedTree() |
boolean |
getUse1SERule() |
boolean |
getUseSurrogates() |
static DTrees |
load(java.lang.String filepath) |
static DTrees |
load(java.lang.String filepath,
java.lang.String nodeName) |
void |
setCVFolds(int val) |
void |
setMaxCategories(int val) |
void |
setMaxDepth(int val) |
void |
setMinSampleCount(int val) |
void |
setPriors(Mat val) |
void |
setRegressionAccuracy(float val) |
void |
setTruncatePrunedTree(boolean val) |
void |
setUse1SERule(boolean val) |
void |
setUseSurrogates(boolean val) |
calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, train, train, train
clear, getDefaultName, getNativeObjAddr, save
public static final int PREDICT_AUTO
public static final int PREDICT_SUM
public static final int PREDICT_MAX_VOTE
public static final int PREDICT_MASK
public static DTrees __fromPtr__(long addr)
public Mat getPriors()
public static DTrees create()
public static DTrees load(java.lang.String filepath, java.lang.String nodeName)
public static DTrees load(java.lang.String filepath)
public boolean getTruncatePrunedTree()
public boolean getUse1SERule()
public boolean getUseSurrogates()
public float getRegressionAccuracy()
public int getCVFolds()
public int getMaxCategories()
public int getMaxDepth()
public int getMinSampleCount()
public void setCVFolds(int val)
public void setMaxCategories(int val)
public void setMaxDepth(int val)
public void setMinSampleCount(int val)
public void setPriors(Mat val)
public void setRegressionAccuracy(float val)
public void setTruncatePrunedTree(boolean val)
public void setUse1SERule(boolean val)
public void setUseSurrogates(boolean val)
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2