opencv2/ml.hpp#

#include <opencv2/core.hpp>
#include <float.h>
#include <map>
#include <iostream>
#include <opencv2/ml/ml.inl.hpp>

Include dependency graph for ml.hpp:

opencv2/ml.hpp Node1 opencv2/ml.hpp Node2 opencv2/core.hpp Node1->Node2 Node52 float.h Node1->Node52 Node53 map Node1->Node53 Node54 iostream Node1->Node54 Node55 opencv2/ml/ml.inl.hpp Node1->Node55 Node3 opencv2/core/cvdef.h Node2->Node3 Node10 opencv2/core/base.hpp Node2->Node10 Node14 opencv2/core/cvstd.hpp Node2->Node14 Node30 opencv2/core/traits.hpp Node2->Node30 Node31 opencv2/core/matx.hpp Node2->Node31 Node36 opencv2/core/types.hpp Node2->Node36 Node39 opencv2/core/mat.hpp Node2->Node39 Node43 opencv2/core/persistence.hpp Node2->Node43 Node44 opencv2/core/operations.hpp Node2->Node44 Node47 opencv2/core/cvstd.inl.hpp Node2->Node47 Node48 opencv2/core/utility.hpp Node2->Node48 Node51 opencv2/core/optim.hpp Node2->Node51 Node4 opencv2/core/version.hpp Node3->Node4 Node5 limits Node3->Node5 Node6 opencv2/core/hal/interface.h Node3->Node6 Node8 cstdint Node3->Node8 Node9 cv_cpu_dispatch.h Node3->Node9 Node7 cstddef Node6->Node7 Node6->Node8 Node10->Node3 Node11 opencv2/opencv_modules.hpp Node10->Node11 Node12 climits Node10->Node12 Node13 algorithm Node10->Node13 Node10->Node14 Node24 opencv2/core/fwddecl.hpp Node10->Node24 Node25 opencv2/core/neon_utils.hpp Node10->Node25 Node26 opencv2/core/vsx_utils.hpp Node10->Node26 Node28 opencv2/core/exception.hpp Node10->Node28 Node29 opencv2/core/check.hpp Node10->Node29 Node14->Node3 Node14->Node7 Node14->Node13 Node15 cstring Node14->Node15 Node16 cctype Node14->Node16 Node17 string Node14->Node17 Node18 utility Node14->Node18 Node19 cstdlib Node14->Node19 Node20 cmath Node14->Node20 Node21 cvstd_wrapper.hpp Node14->Node21 Node21->Node3 Node21->Node17 Node22 memory Node21->Node22 Node23 type_traits Node21->Node23 Node24->Node3 Node25->Node3 Node26->Node3 Node27 assert.h Node26->Node27 Node28->Node3 Node28->Node14 Node29->Node3 Node29->Node14 Node29->Node24 Node30->Node3 Node31->Node3 Node31->Node10 Node31->Node30 Node32 opencv2/core/saturate.hpp Node31->Node32 Node34 initializer_list Node31->Node34 Node35 opencv2/core/matx.inl.hpp Node31->Node35 Node32->Node3 Node32->Node12 Node33 opencv2/core/fast_math.hpp Node32->Node33 Node33->Node3 Node33->Node20 Node36->Node3 Node36->Node5 Node36->Node12 Node36->Node14 Node36->Node31 Node37 cfloat Node36->Node37 Node38 vector Node36->Node38 Node39->Node23 Node39->Node31 Node39->Node36 Node40 opencv2/core/bufferpool.hpp Node39->Node40 Node41 array Node39->Node41 Node42 opencv2/core/mat.inl.hpp Node39->Node42 Node43->Node36 Node43->Node39 Node45 cstdio Node44->Node45 Node46 ostream Node44->Node46 Node48->Node2 Node48->Node46 Node49 functional Node48->Node49 Node50 mutex Node48->Node50 Node51->Node2

opencv2/ml.hpp Node1 opencv2/ml.hpp Node2 opencv2/core.hpp Node1->Node2 Node52 float.h Node1->Node52 Node53 map Node1->Node53 Node54 iostream Node1->Node54 Node55 opencv2/ml/ml.inl.hpp Node1->Node55 Node3 opencv2/core/cvdef.h Node2->Node3 Node10 opencv2/core/base.hpp Node2->Node10 Node14 opencv2/core/cvstd.hpp Node2->Node14 Node30 opencv2/core/traits.hpp Node2->Node30 Node31 opencv2/core/matx.hpp Node2->Node31 Node36 opencv2/core/types.hpp Node2->Node36 Node39 opencv2/core/mat.hpp Node2->Node39 Node43 opencv2/core/persistence.hpp Node2->Node43 Node44 opencv2/core/operations.hpp Node2->Node44 Node47 opencv2/core/cvstd.inl.hpp Node2->Node47 Node48 opencv2/core/utility.hpp Node2->Node48 Node51 opencv2/core/optim.hpp Node2->Node51 Node4 opencv2/core/version.hpp Node3->Node4 Node5 limits Node3->Node5 Node6 opencv2/core/hal/interface.h Node3->Node6 Node8 cstdint Node3->Node8 Node9 cv_cpu_dispatch.h Node3->Node9 Node7 cstddef Node6->Node7 Node6->Node8 Node10->Node3 Node11 opencv2/opencv_modules.hpp Node10->Node11 Node12 climits Node10->Node12 Node13 algorithm Node10->Node13 Node10->Node14 Node24 opencv2/core/fwddecl.hpp Node10->Node24 Node25 opencv2/core/neon_utils.hpp Node10->Node25 Node26 opencv2/core/vsx_utils.hpp Node10->Node26 Node28 opencv2/core/exception.hpp Node10->Node28 Node29 opencv2/core/check.hpp Node10->Node29 Node14->Node3 Node14->Node7 Node14->Node13 Node15 cstring Node14->Node15 Node16 cctype Node14->Node16 Node17 string Node14->Node17 Node18 utility Node14->Node18 Node19 cstdlib Node14->Node19 Node20 cmath Node14->Node20 Node21 cvstd_wrapper.hpp Node14->Node21 Node21->Node3 Node21->Node17 Node22 memory Node21->Node22 Node23 type_traits Node21->Node23 Node24->Node3 Node25->Node3 Node26->Node3 Node27 assert.h Node26->Node27 Node28->Node3 Node28->Node14 Node29->Node3 Node29->Node14 Node29->Node24 Node30->Node3 Node31->Node3 Node31->Node10 Node31->Node30 Node32 opencv2/core/saturate.hpp Node31->Node32 Node34 initializer_list Node31->Node34 Node35 opencv2/core/matx.inl.hpp Node31->Node35 Node32->Node3 Node32->Node12 Node33 opencv2/core/fast_math.hpp Node32->Node33 Node33->Node3 Node33->Node20 Node36->Node3 Node36->Node5 Node36->Node12 Node36->Node14 Node36->Node31 Node37 cfloat Node36->Node37 Node38 vector Node36->Node38 Node39->Node23 Node39->Node31 Node39->Node36 Node40 opencv2/core/bufferpool.hpp Node39->Node40 Node41 array Node39->Node41 Node42 opencv2/core/mat.inl.hpp Node39->Node42 Node43->Node36 Node43->Node39 Node45 cstdio Node44->Node45 Node46 ostream Node44->Node46 Node48->Node2 Node48->Node46 Node49 functional Node48->Node49 Node50 mutex Node48->Node50 Node51->Node2

This graph shows which files directly or indirectly include ml.hpp:

incby nc49a623a84 opencv2/ml/ml.hpp n97856ffece opencv2/ml.hpp nc49a623a84->n97856ffece n6cf9ac053e opencv2/quality.hpp n72239f7fea opencv2/quality/qualitybrisque.hpp n6cf9ac053e->n72239f7fea n72239f7fea->n97856ffece

incby nc49a623a84 opencv2/ml/ml.hpp n97856ffece opencv2/ml.hpp nc49a623a84->n97856ffece n6cf9ac053e opencv2/quality.hpp n72239f7fea opencv2/quality/qualitybrisque.hpp n6cf9ac053e->n72239f7fea n72239f7fea->n97856ffece

Classes#

class cv::ml::ANN_MLP

Artificial Neural Networks - Multi-Layer Perceptrons.

class cv::ml::Boost

Boosted tree classifier derived from DTrees.

class cv::ml::DTrees

The class represents a single decision tree or a collection of decision trees.

class cv::ml::EM

The class implements the Expectation Maximization algorithm.

class cv::ml::SVM::Kernel
class cv::ml::KNearest

The class implements K-Nearest Neighbors model.

class cv::ml::LogisticRegression

Implements Logistic Regression classifier.

class cv::ml::DTrees::Node

The class represents a decision tree node.

class cv::ml::NormalBayesClassifier

Bayes classifier for normally distributed data.

class cv::ml::ParamGrid

The structure represents the logarithmic grid range of statmodel parameters.

class cv::ml::RTrees

The class implements the random forest predictor.

This class declares example interface for system state used in simulated annealing optimization algorithm.

class cv::ml::DTrees::Split

The class represents split in a decision tree.

class cv::ml::StatModel

Base class for statistical models in OpenCV ML.

class cv::ml::SVM

Support Vector Machines.

class cv::ml::SVMSGD

Stochastic Gradient Descent SVM classifier.

class cv::ml::TrainData

Class encapsulating training data.

Namespaces#

namespace cv
namespace cv::ml

Enumerations#

enum cv::ml::ErrorTypes {
TEST_ERROR = 0,
TRAIN_ERROR = 1
}

Error types More…

enum cv::ml::SampleTypes {
ROW_SAMPLE = 0,
COL_SAMPLE = 1
}

Sample types. More…

enum cv::ml::VariableTypes {
VAR_NUMERICAL =0,
VAR_ORDERED =0,
VAR_CATEGORICAL =1
}

Variable types. More…

Functions#

void cv::ml::createConcentricSpheresTestSet (int nsamples, int nfeatures, int nclasses, OutputArray samples, OutputArray responses)

Creates test set.

void cv::ml::randMVNormal (InputArray mean, InputArray cov, int nsamples, OutputArray samples)

Generates sample from multivariate normal distribution.

int cv::ml::simulatedAnnealingSolver (SimulatedAnnealingSolverSystem &solverSystem, double initialTemperature, double finalTemperature, double coolingRatio, size_t iterationsPerStep, double *lastTemperature=NULL, cv::RNG &rngEnergy=cv::theRNG())

The class implements simulated annealing for optimization.