#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 | |
virtual void | calc (int vcount, int n, const float **vecs, const float *another, float *results) |
virtual void | calc_linear (int vec_count, int vec_size, 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_poly (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_sigmoid (int vec_count, int vec_size, const float **vecs, const float *another, float *results) |
virtual void | clear () |
virtual bool | create (const CvSVMParams *params, Calc _calc_func) |
CvSVMKernel (const CvSVMParams *params, Calc _calc_func) | |
CvSVMKernel () | |
virtual | ~CvSVMKernel () |
Public Attributes | |
Calc | calc_func |
const CvSVMParams * | params |
typedef void(CvSVMKernel::* CvSVMKernel::Calc)(int vec_count, int vec_size, const float **vecs, const float *another, float *results) |
CvSVMKernel::CvSVMKernel | ( | ) |
CvSVMKernel::CvSVMKernel | ( | const CvSVMParams * | params, | |
Calc | _calc_func | |||
) |
virtual CvSVMKernel::~CvSVMKernel | ( | ) | [virtual] |
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] |
const CvSVMParams* CvSVMKernel::params |