OpenCV implements eight of these machine learning algorithms. All of them are inherited from the StatModel class:
- Artificial neural networks
- Random trees
- Expectation maximization
- k-nearest neighbors
- Logistic regression
- Normal Bayes classifiers
- support vector machine
- Stochastic gradient descent SVMs
Version 3 supports deep learning at a basic level, but version 4 is stable and more supported. We will delve into deep learning in detail in further chapters.
The following diagram shows the machine learning class hierarchy:
The StatModel class is the base ...