org.opencv.ml
Class StatModel
java.lang.Object
   org.opencv.core.Algorithm
org.opencv.core.Algorithm
       org.opencv.ml.StatModel
org.opencv.ml.StatModel
- Direct Known Subclasses: 
- DTrees, EM, KNearest, LogisticRegression, NormalBayesClassifier, SVM
- public class StatModel 
- extends Algorithm
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
COMPRESSED_INPUT
public static final int COMPRESSED_INPUT
- See Also:
- Constant Field Values
PREPROCESSED_INPUT
public static final int PREPROCESSED_INPUT
- See Also:
- Constant Field Values
RAW_OUTPUT
public static final int RAW_OUTPUT
- See Also:
- Constant Field Values
UPDATE_MODEL
public static final int UPDATE_MODEL
- See Also:
- Constant Field Values
empty
public boolean empty()
- 
 
getVarCount
public int getVarCount()
- 
 
isClassifier
public boolean isClassifier()
- 
 
isTrained
public boolean isTrained()
- 
 
predict
public float predict(Mat samples)
- 
 
predict
public float predict(Mat samples,
                     Mat results,
                     int flags)
- 
 
train
public boolean train(Mat samples,
                     int layout,
                     Mat responses)
-