OpenCV  2.4.13
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

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

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void CvSVMKernel::calc ( int  vcount,
int  n,
const float **  vecs,
const float *  another,
float *  results 
)
virtual
virtual void CvSVMKernel::calc_linear ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual
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
virtual void CvSVMKernel::calc_poly ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual
virtual void CvSVMKernel::calc_rbf ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual
virtual void CvSVMKernel::calc_sigmoid ( int  vec_count,
int  vec_size,
const float **  vecs,
const float *  another,
float *  results 
)
virtual
virtual void CvSVMKernel::clear ( )
virtual
virtual bool CvSVMKernel::create ( const CvSVMParams params,
Calc  _calc_func 
)
virtual

Member Data Documentation

Calc CvSVMKernel::calc_func
const CvSVMParams* CvSVMKernel::params

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