![]() |
KSquare Utilities
|
Inheritance diagram for SVM289_MFS::Kernel:Public Member Functions | |
| Kernel (const FeatureVectorList &_x, const FeatureNumList &_selFeatures, const svm_parameter &_param, RunLog &_log) | |
| virtual | ~Kernel () |
| virtual Qfloat * | get_Q (kkint32 column, kkint32 len) const =0 |
| virtual Qfloat * | get_QD () const =0 |
| virtual void | swap_index (kkint32 i, kkint32 j) |
Public Member Functions inherited from SVM289_MFS::QMatrix | |
| virtual | ~QMatrix () |
Static Public Member Functions | |
| static double | DotStatic (const FeatureVector &px, const FeatureVector &py, const FeatureNumList &selFeatures) |
| static double | k_function (const FeatureVector &x, const FeatureVector &y, const svm_parameter ¶m, const FeatureNumList &selFeatures) |
Protected Attributes | |
| double(Kernel::* | kernel_function )(kkint32 i, kkint32 j) const |
| SVM289_MFS::Kernel::Kernel | ( | const FeatureVectorList & | _x, |
| const FeatureNumList & | _selFeatures, | ||
| const svm_parameter & | _param, | ||
| RunLog & | _log | ||
| ) |
Definition at line 917 of file svm2.cpp.
References SVM289_MFS::svm_parameter::coef0, SVM289_MFS::svm_parameter::degree, KKMLL::FeatureVectorList::FeatureVectorList(), SVM289_MFS::svm_parameter::gamma, Kernel(), kernel_function, SVM289_MFS::svm_parameter::kernel_type, SVM289_MFS::LINEAR, KKMLL::FeatureNumList::NumSelFeatures(), KKMLL::FeatureNumList::operator[](), SVM289_MFS::POLY, SVM289_MFS::PRECOMPUTED, SVM289_MFS::RBF, and SVM289_MFS::SIGMOID.
Referenced by Kernel().
|
static |
Definition at line 1024 of file svm2.cpp.
References KKMLL::FeatureVector::FeatureData(), KKMLL::FeatureNumList::NumSelFeatures(), and KKMLL::FeatureNumList::operator[]().
Referenced by k_function().
Implements SVM289_MFS::QMatrix.
Implemented in SVM289_MFS::SVR_Q, SVM289_MFS::ONE_CLASS_Q, and SVM289_MFS::SVC_Q.
|
pure virtual |
Implements SVM289_MFS::QMatrix.
Implemented in SVM289_MFS::SVR_Q, SVM289_MFS::ONE_CLASS_Q, and SVM289_MFS::SVC_Q.
|
static |
Definition at line 1053 of file svm2.cpp.
References SVM289_MFS::svm_parameter::coef0, SVM289_MFS::svm_parameter::degree, DotStatic(), KKMLL::FeatureVector::FeatureData(), SVM289_MFS::svm_parameter::gamma, SVM289_MFS::svm_parameter::kernel_type, SVM289_MFS::LINEAR, KKMLL::FeatureNumList::NumSelFeatures(), KKMLL::FeatureNumList::operator[](), SVM289_MFS::POLY, SVM289_MFS::powi(), SVM289_MFS::PRECOMPUTED, SVM289_MFS::RBF, and SVM289_MFS::SIGMOID.
Implements SVM289_MFS::QMatrix.
Reimplemented in SVM289_MFS::SVR_Q, SVM289_MFS::ONE_CLASS_Q, and SVM289_MFS::SVC_Q.
Definition at line 850 of file svm2.cpp.
Referenced by SVM289_MFS::SVC_Q::swap_index(), and SVM289_MFS::ONE_CLASS_Q::swap_index().
Definition at line 859 of file svm2.cpp.
Referenced by SVM289_MFS::SVC_Q::get_Q(), SVM289_MFS::ONE_CLASS_Q::get_Q(), SVM289_MFS::SVR_Q::get_Q(), Kernel(), SVM289_MFS::ONE_CLASS_Q::ONE_CLASS_Q(), SVM289_MFS::SVC_Q::SVC_Q(), and SVM289_MFS::SVR_Q::SVR_Q().