Expand description
Machine Learning
The Machine Learning Library (MLL) is a set of classes and functions for statistical classification, regression, and clustering of data.
Most of the classification and regression algorithms are implemented as C++ classes. As the algorithms have different sets of features (like an ability to handle missing measurements or categorical input variables), there is a little common ground between the classes. This common ground is defined by the class cv::ml::StatModel that all the other ML classes are derived from.
See detailed overview here: [ml_intro].
Modules
Structs
- The class represents a decision tree node.
- The class represents split in a decision tree.
- The structure represents the logarithmic grid range of statmodel parameters.
Enums
- possible activation functions
- Train options
- Available training methods
- Boosting type. Gentle AdaBoost and Real AdaBoost are often the preferable choices.
- Predict options
- Type of covariation matrices
- %Error types
- Implementations of KNearest algorithm
- Training methods
- Regularization kinds
- Margin type.
- SVMSGD type. ASGD is often the preferable choice.
- %SVM kernel type
- %SVM params type
- %SVM type
- Sample types
- Predict options
- Variable types
Constants
- each training sample occupies a column of samples
- each training sample is a row of samples
- categorical variables
- same as VAR_ORDERED
- ordered variables
Traits
- Artificial Neural Networks - Multi-Layer Perceptrons.
- Constant methods for crate::ml::ANN_MLP
- Boosted tree classifier derived from DTrees
- Constant methods for crate::ml::Boost
- The class represents a single decision tree or a collection of decision trees.
- Constant methods for crate::ml::DTrees
- Mutable methods for crate::ml::DTrees_Node
- Constant methods for crate::ml::DTrees_Node
- Mutable methods for crate::ml::DTrees_Split
- Constant methods for crate::ml::DTrees_Split
- The class implements the Expectation Maximization algorithm.
- Constant methods for crate::ml::EM
- The class implements K-Nearest Neighbors model
- Constant methods for crate::ml::KNearest
- Implements Logistic Regression classifier.
- Constant methods for crate::ml::LogisticRegression
- Bayes classifier for normally distributed data.
- Constant methods for crate::ml::NormalBayesClassifier
- Mutable methods for crate::ml::ParamGrid
- Constant methods for crate::ml::ParamGrid
- The class implements the random forest predictor.
- Constant methods for crate::ml::RTrees
- Support Vector Machines.
- Constant methods for crate::ml::SVM
- ! Stochastic Gradient Descent SVM classifier
- Constant methods for crate::ml::SVMSGD
- Constant methods for crate::ml::SVM_Kernel
- Base class for statistical models in OpenCV ML.
- Constant methods for crate::ml::StatModel
- Class encapsulating training data.
- Constant methods for crate::ml::TrainData
Functions
- Creates test set
- Generates sample from multivariate normal distribution