OpenCV 3.0.0

org.opencv.ml
Class DTrees

java.lang.Object
  extended by org.opencv.core.Algorithm
      extended by org.opencv.ml.StatModel
          extended by org.opencv.ml.DTrees
Direct Known Subclasses:
Boost, RTrees

public class DTrees
extends StatModel


Field Summary
static int PREDICT_AUTO
           
static int PREDICT_MASK
           
static int PREDICT_MAX_VOTE
           
static int PREDICT_SUM
           
 
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
 
Method Summary
static DTrees create()
           
 int getCVFolds()
           
 int getMaxCategories()
           
 int getMaxDepth()
           
 int getMinSampleCount()
           
 Mat getPriors()
           
 float getRegressionAccuracy()
           
 boolean getTruncatePrunedTree()
           
 boolean getUse1SERule()
           
 boolean getUseSurrogates()
           
 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)
           
 
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
 
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREDICT_AUTO

public static final int PREDICT_AUTO
See Also:
Constant Field Values

PREDICT_MASK

public static final int PREDICT_MASK
See Also:
Constant Field Values

PREDICT_MAX_VOTE

public static final int PREDICT_MAX_VOTE
See Also:
Constant Field Values

PREDICT_SUM

public static final int PREDICT_SUM
See Also:
Constant Field Values
Method Detail

create

public static DTrees create()

getCVFolds

public int getCVFolds()

getMaxCategories

public int getMaxCategories()

getMaxDepth

public int getMaxDepth()

getMinSampleCount

public int getMinSampleCount()

getPriors

public Mat getPriors()

getRegressionAccuracy

public float getRegressionAccuracy()

getTruncatePrunedTree

public boolean getTruncatePrunedTree()

getUse1SERule

public boolean getUse1SERule()

getUseSurrogates

public boolean getUseSurrogates()

setCVFolds

public void setCVFolds(int val)

setMaxCategories

public void setMaxCategories(int val)

setMaxDepth

public void setMaxDepth(int val)

setMinSampleCount

public void setMinSampleCount(int val)

setPriors

public void setPriors(Mat val)

setRegressionAccuracy

public void setRegressionAccuracy(float val)

setTruncatePrunedTree

public void setTruncatePrunedTree(boolean val)

setUse1SERule

public void setUse1SERule(boolean val)

setUseSurrogates

public void setUseSurrogates(boolean val)

OpenCV 3.0.0 Documentation