Package org.opencv.ml
Class RTrees
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.ml.StatModel
-
- org.opencv.ml.DTrees
-
- org.opencv.ml.RTrees
-
public class RTrees extends DTrees
-
-
Field Summary
-
Fields inherited from class org.opencv.ml.DTrees
PREDICT_AUTO, PREDICT_MASK, PREDICT_MAX_VOTE, PREDICT_SUM
-
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRTrees(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RTrees__fromPtr__(long addr)static RTreescreate()protected voidfinalize()intgetActiveVarCount()booleangetCalculateVarImportance()TermCriteriagetTermCriteria()MatgetVarImportance()voidgetVotes(Mat samples, Mat results, int flags)static RTreesload(String filepath)static RTreesload(String filepath, String nodeName)voidsetActiveVarCount(int val)voidsetCalculateVarImportance(boolean val)voidsetTermCriteria(TermCriteria val)-
Methods inherited from class org.opencv.ml.DTrees
getCVFolds, getMaxCategories, getMaxDepth, getMinSampleCount, getPriors, getRegressionAccuracy, getTruncatePrunedTree, getUse1SERule, getUseSurrogates, setCVFolds, setMaxCategories, setMaxDepth, setMinSampleCount, setPriors, setRegressionAccuracy, setTruncatePrunedTree, setUse1SERule, setUseSurrogates
-
Methods inherited from class org.opencv.ml.StatModel
calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, predict, train, train, train
-
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static RTrees __fromPtr__(long addr)
-
getVarImportance
public Mat getVarImportance()
-
create
public static RTrees create()
-
getTermCriteria
public TermCriteria getTermCriteria()
-
getCalculateVarImportance
public boolean getCalculateVarImportance()
-
getActiveVarCount
public int getActiveVarCount()
-
setActiveVarCount
public void setActiveVarCount(int val)
-
setCalculateVarImportance
public void setCalculateVarImportance(boolean val)
-
setTermCriteria
public void setTermCriteria(TermCriteria val)
-
-