Direct Graphical Models  v.1.5.3
DirectGraphicalModels::TrainNodeCvSVMParams Struct Reference

OpenCV Support Vector machine parameters. More...

#include <TrainNodeCvSVM.h>

Public Member Functions

 TrainNodeCvSVMParams ()
 
 TrainNodeCvSVMParams (double C, int maxCount, double epsilon, int term_criteria_type, int maxSamples)
 

Public Attributes

double C
 Parameter C of a SVM optimization problem. More...
 
int maxCount
 The maximum number of iterations (time / accuracy) More...
 
double epsilon
 The desired accuracy or change in parameters at which the iterative algorithm stops. More...
 
int term_criteria_type
 Termination cirteria type (according the the two previous parameters) More...
 
size_t maxSamples
 Maximum number of samples to be used in training. 0 means using all the samples. More...
 

Detailed Description

OpenCV Support Vector machine parameters.

Definition at line 12 of file TrainNodeCvSVM.h.

Constructor & Destructor Documentation

◆ TrainNodeCvSVMParams() [1/2]

DirectGraphicalModels::TrainNodeCvSVMParams::TrainNodeCvSVMParams ( )
inline

Definition at line 19 of file TrainNodeCvSVM.h.

◆ TrainNodeCvSVMParams() [2/2]

DirectGraphicalModels::TrainNodeCvSVMParams::TrainNodeCvSVMParams ( double  C,
int  maxCount,
double  epsilon,
int  term_criteria_type,
int  maxSamples 
)
inline

Definition at line 20 of file TrainNodeCvSVM.h.

Member Data Documentation

◆ C

double DirectGraphicalModels::TrainNodeCvSVMParams::C

Parameter C of a SVM optimization problem.

Definition at line 13 of file TrainNodeCvSVM.h.

◆ epsilon

double DirectGraphicalModels::TrainNodeCvSVMParams::epsilon

The desired accuracy or change in parameters at which the iterative algorithm stops.

Definition at line 15 of file TrainNodeCvSVM.h.

◆ maxCount

int DirectGraphicalModels::TrainNodeCvSVMParams::maxCount

The maximum number of iterations (time / accuracy)

Definition at line 14 of file TrainNodeCvSVM.h.

◆ maxSamples

size_t DirectGraphicalModels::TrainNodeCvSVMParams::maxSamples

Maximum number of samples to be used in training. 0 means using all the samples.

Definition at line 17 of file TrainNodeCvSVM.h.

◆ term_criteria_type

int DirectGraphicalModels::TrainNodeCvSVMParams::term_criteria_type

Termination cirteria type (according the the two previous parameters)

Definition at line 16 of file TrainNodeCvSVM.h.


The documentation for this struct was generated from the following file: