OpenCV  2.4.13.4
Open Source Computer Vision
CvSVMKernel Struct Reference

#include <ml.hpp>

Public Types

typedef void(CvSVMKernel::* Calc) (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
 

Public Member Functions

 CvSVMKernel ()
 
 CvSVMKernel (const CvSVMParams *params, Calc _calc_func)
 
virtual bool create (const CvSVMParams *params, Calc _calc_func)
 
virtual ~CvSVMKernel ()
 
virtual void clear ()
 
virtual void calc (int vcount, int n, const float **vecs, const float *another, float *results)
 
virtual void calc_non_rbf_base (int vec_count, int vec_size, const float **vecs, const float *another, float *results, double alpha, double beta)
 
virtual void calc_linear (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
 
virtual void calc_rbf (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
 
virtual void calc_poly (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
 
virtual void calc_sigmoid (int vec_count, int vec_size, const float **vecs, const float *another, float *results)
 

Public Attributes

const CvSVMParamsparams
 
Calc calc_func
 

Member Typedef Documentation

§ Calc

typedef void(CvSVMKernel::* CvSVMKernel::Calc) (int vec_count, int vec_size, const float **vecs, const float *another, float *results)

Constructor & Destructor Documentation

§ CvSVMKernel() [1/2]

CvSVMKernel::CvSVMKernel ( )

§ CvSVMKernel() [2/2]

CvSVMKernel::CvSVMKernel ( const CvSVMParams params,
Calc  _calc_func 
)

§ ~CvSVMKernel()

virtual CvSVMKernel::~CvSVMKernel ( )
virtual

Member Function Documentation

§ calc()

virtual void CvSVMKernel::calc ( int  vcount,
int  n,
const float **  vecs,
const float *  another,
float *  results 
)
virtual

§ calc_linear()

virtual void CvSVMKernel::calc_linear ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual

§ calc_non_rbf_base()

virtual void CvSVMKernel::calc_non_rbf_base ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results,
double  alpha,
double  beta 
)
virtual

§ calc_poly()

virtual void CvSVMKernel::calc_poly ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual

§ calc_rbf()

virtual void CvSVMKernel::calc_rbf ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual

§ calc_sigmoid()

virtual void CvSVMKernel::calc_sigmoid ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual

§ clear()

virtual void CvSVMKernel::clear ( )
virtual

§ create()

virtual bool CvSVMKernel::create ( const CvSVMParams params,
Calc  _calc_func 
)
virtual

Member Data Documentation

§ calc_func

Calc CvSVMKernel::calc_func

§ params

const CvSVMParams* CvSVMKernel::params

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