ml library
Classes
- ANN_MLP
- Artificial Neural Networks - Multi-Layer Perceptrons. https://docs.opencv.org/4.x/d0/dce/classcv_1_1ml_1_1ANN__MLP.html
- Boost
- Boosted tree classifier derived from DTrees. https://docs.opencv.org/4.x/db/d7d/classcv_1_1ml_1_1Boost.html
- DTrees
- The class represents a single decision tree or a collection of decision trees. https://docs.opencv.org/4.x/d8/d89/classcv_1_1ml_1_1DTrees.html
- DTreesNode
- A node of a decision tree, see DTrees.nodes. https://docs.opencv.org/4.x/db/d6d/classcv_1_1ml_1_1DTrees_1_1Node.html
- DTreesSplit
- A split of a decision tree node, see DTrees.splits. https://docs.opencv.org/4.x/d6/df3/classcv_1_1ml_1_1DTrees_1_1Split.html
- EM
- The class implements the Expectation Maximization algorithm. https://docs.opencv.org/4.x/d1/dfb/classcv_1_1ml_1_1EM.html
- KNearest
- The class implements K-Nearest Neighbors model. https://docs.opencv.org/4.x/dd/de1/classcv_1_1ml_1_1KNearest.html
- LogisticRegression
- Implements Logistic Regression classifier.
- NormalBayesClassifier
- Bayes classifier for normally distributed data. https://docs.opencv.org/4.x/d4/d8e/classcv_1_1ml_1_1NormalBayesClassifier.html
- ParamGrid
- Parameters of a grid searched by SVM.trainAuto.
- RTrees
- The class implements the random forest predictor. https://docs.opencv.org/4.x/d0/d65/classcv_1_1ml_1_1RTrees.html
- StatModel
- Flags of cv::ml::StatModel, shared by every model type. https://docs.opencv.org/4.x/db/d7d/classcv_1_1ml_1_1StatModel.html
- SVM
- Support Vector Machines. https://docs.opencv.org/4.x/d1/d2d/classcv_1_1ml_1_1SVM.html
- SVMSGD
- Stochastic Gradient Descent SVM classifier.
- TrainData
- Class encapsulating training data. https://docs.opencv.org/4.x/dc/d32/classcv_1_1ml_1_1TrainData.html
Extensions
Constants
- COL_SAMPLE → const int
- Each training sample occupies a column of samples.
- ROW_SAMPLE → const int
- Each training sample is a row of samples. https://docs.opencv.org/4.x/dd/ded/group__ml.html
- TEST_ERROR → const int
- https://docs.opencv.org/4.x/dd/ded/group__ml.html
- TRAIN_ERROR → const int
- VAR_CATEGORICAL → const int
- Categorical variables.
- VAR_NUMERICAL → const int
- Same as VAR_ORDERED. https://docs.opencv.org/4.x/dd/ded/group__ml.html
- VAR_ORDERED → const int
- Ordered variables.