Logo
OpenCV  2.4.13
Open Source Computer Vision
Classes | Namespaces | Macros | Typedefs | Functions
ml/ml.hpp File Reference
#include "opencv2/core/core.hpp"
#include <limits.h>
#include <map>
#include <string>
#include <iostream>

Classes

struct   CvVectors
 
class   CvStatModel
 
struct   CvParamGrid
 
 
class   CvKNearest
 
struct   CvSVMParams
 
struct   CvSVMKernel
 
struct   CvSVMKernelRow
 
struct   CvSVMSolutionInfo
 
class   CvSVMSolver
 
struct   CvSVMDecisionFunc
 
class   CvSVM
 
class   cv::EM
 
struct   CvPair16u32s
 
struct   CvDTreeSplit
 
struct   CvDTreeNode
 
struct   CvDTreeParams
 
struct   CvDTreeTrainData
 
class   CvDTree
 
class   CvForestTree
 
struct   CvRTParams
 
class   CvRTrees
 
struct   CvERTreeTrainData
 
class   CvForestERTree
 
class   CvERTrees
 
struct   CvBoostParams
 
class   CvBoostTree
 
class   CvBoost
 
struct   CvGBTreesParams
 
class   CvGBTrees
 
 
class   CvANN_MLP
 
struct   CvTrainTestSplit
 
class   CvMLData
 

Namespaces

  cv
 

Macros

#define  CV_LOG2PI   (1.8378770664093454835606594728112)
 
#define  CV_COL_SAMPLE   0
 
#define  CV_ROW_SAMPLE   1
 
#define  CV_IS_ROW_SAMPLE(flags)   ((flags) & CV_ROW_SAMPLE)
 
#define  CV_VAR_NUMERICAL   0
 
#define  CV_VAR_ORDERED   0
 
#define  CV_VAR_CATEGORICAL   1
 
#define  CV_TYPE_NAME_ML_SVM   "opencv-ml-svm"
 
#define  CV_TYPE_NAME_ML_KNN   "opencv-ml-knn"
 
#define  CV_TYPE_NAME_ML_NBAYES   "opencv-ml-bayesian"
 
#define  CV_TYPE_NAME_ML_EM   "opencv-ml-em"
 
#define  CV_TYPE_NAME_ML_BOOSTING   "opencv-ml-boost-tree"
 
#define  CV_TYPE_NAME_ML_TREE   "opencv-ml-tree"
 
#define  CV_TYPE_NAME_ML_ANN_MLP   "opencv-ml-ann-mlp"
 
#define  CV_TYPE_NAME_ML_CNN   "opencv-ml-cnn"
 
#define  CV_TYPE_NAME_ML_RTREES   "opencv-ml-random-trees"
 
#define  CV_TYPE_NAME_ML_ERTREES   "opencv-ml-extremely-randomized-trees"
 
#define  CV_TYPE_NAME_ML_GBT   "opencv-ml-gradient-boosting-trees"
 
#define  CV_TRAIN_ERROR   0
 
#define  CV_TEST_ERROR   1
 
#define  CV_DTREE_CAT_DIR(idx, subset)   (2*((subset[(idx)>>5]&(1 << ((idx) & 31)))==0)-1)
 
#define  CV_TS_CONCENTRIC_SPHERES   0
 
#define  CV_COUNT   0
 
#define  CV_PORTION   1
 

Typedefs

 
 
 
 
 
 
 
typedef CvSVM  cv::SVM
 
 
 
 
 
 
 
 
 
 
 
 
typedef CvBoost  cv::Boost
 
 
 
 
 

Functions

void  cvRandMVNormal (CvMat *mean, CvMat *cov, CvMat *sample, CvRNG *rng CV_DEFAULT(0))
 
void  cvRandGaussMixture (CvMat *means[], CvMat *covs[], float weights[], int clsnum, CvMat *sample, CvMat *sampClasses CV_DEFAULT(0))
 
void  cvCreateTestSet (int type, CvMat **samples, int num_samples, int num_features, CvMat **responses, int num_classes,...)
 
 

Macro Definition Documentation

#define CV_COL_SAMPLE   0
#define CV_COUNT   0
#define CV_DTREE_CAT_DIR (   idx,
  subset 
)    (2*((subset[(idx)>>5]&(1 << ((idx) & 31)))==0)-1)
#define CV_IS_ROW_SAMPLE (   flags )    ((flags) & CV_ROW_SAMPLE)
#define CV_LOG2PI   (1.8378770664093454835606594728112)
#define CV_PORTION   1
#define CV_ROW_SAMPLE   1
#define CV_TEST_ERROR   1
#define CV_TRAIN_ERROR   0
#define CV_TS_CONCENTRIC_SPHERES   0
#define CV_TYPE_NAME_ML_ANN_MLP   "opencv-ml-ann-mlp"
#define CV_TYPE_NAME_ML_BOOSTING   "opencv-ml-boost-tree"
#define CV_TYPE_NAME_ML_CNN   "opencv-ml-cnn"
#define CV_TYPE_NAME_ML_EM   "opencv-ml-em"
#define CV_TYPE_NAME_ML_ERTREES   "opencv-ml-extremely-randomized-trees"
#define CV_TYPE_NAME_ML_GBT   "opencv-ml-gradient-boosting-trees"
#define CV_TYPE_NAME_ML_KNN   "opencv-ml-knn"
#define CV_TYPE_NAME_ML_NBAYES   "opencv-ml-bayesian"
#define CV_TYPE_NAME_ML_RTREES   "opencv-ml-random-trees"
#define CV_TYPE_NAME_ML_SVM   "opencv-ml-svm"
#define CV_TYPE_NAME_ML_TREE   "opencv-ml-tree"
#define CV_VAR_CATEGORICAL   1
#define CV_VAR_NUMERICAL   0
#define CV_VAR_ORDERED   0

Function Documentation

void cvCreateTestSet ( int  type,
CvMat **  samples,
int  num_samples,
int  num_features,
CvMat **  responses,
int  num_classes,
  ... 
)
void cvRandGaussMixture ( CvMatmeans[],
CvMatcovs[],
float  weights[],
int  clsnum,
CvMatsample,
CvMat *sampClasses   CV_DEFAULT
)
void cvRandMVNormal ( CvMatmean,
CvMatcov,
CvMatsample,
CvRNG *rng   CV_DEFAULT
)

AltStyle によって変換されたページ (->オリジナル) /