![]() |
KSquare Utilities
|
Inheritance diagram for SVM289_BFS::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_BFS::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) |
| Kernel evaluation. More... | |
Protected Attributes | |
| double(Kernel::* | kernel_function )(kkint32 i, kkint32 j) const |
Definition at line 848 of file svm289_BFS.cpp.
| SVM289_BFS::Kernel::Kernel | ( | const FeatureVectorList & | _x, |
| const FeatureNumList & | _selFeatures, | ||
| const svm_parameter & | _param, | ||
| RunLog & | _log | ||
| ) |
Definition at line 945 of file svm289_BFS.cpp.
References SVM289_BFS::svm_parameter::coef0, SVM289_BFS::svm_parameter::degree, KKMLL::FeatureVectorList::FeatureVectorList(), SVM289_BFS::svm_parameter::gamma, Kernel(), kernel_function, SVM289_BFS::svm_parameter::kernel_type, SVM289_BFS::LINEAR, KKMLL::FeatureNumList::NumSelFeatures(), KKMLL::FeatureNumList::operator[](), SVM289_BFS::POLY, SVM289_BFS::PRECOMPUTED, SVM289_BFS::RBF, and SVM289_BFS::SIGMOID.
Referenced by Kernel().
|
virtual |
Definition at line 1019 of file svm289_BFS.cpp.
|
static |
Definition at line 1063 of file svm289_BFS.cpp.
References KKMLL::FeatureVector::FeatureData(), KKMLL::FeatureNumList::NumSelFeatures(), and KKMLL::FeatureNumList::operator[]().
Referenced by k_function().
Implements SVM289_BFS::QMatrix.
Implemented in SVM289_BFS::SVR_Q, SVM289_BFS::ONE_CLASS_Q, and SVM289_BFS::SVC_Q.
|
pure virtual |
Implements SVM289_BFS::QMatrix.
Implemented in SVM289_BFS::SVR_Q, SVM289_BFS::ONE_CLASS_Q, and SVM289_BFS::SVC_Q.
|
static |
Kernel evaluation.
The static method k_function is for doing single kernel evaluation the constructor of Kernel prepares to calculate the l*l kernel matrix the member function get_Q is for getting one column from the Q Matrix
Definition at line 1092 of file svm289_BFS.cpp.
References SVM289_BFS::svm_parameter::coef0, SVM289_BFS::svm_parameter::degree, DotStatic(), KKMLL::FeatureVector::FeatureData(), SVM289_BFS::svm_parameter::gamma, SVM289_BFS::svm_parameter::kernel_type, SVM289_BFS::LINEAR, KKMLL::FeatureNumList::NumSelFeatures(), KKMLL::FeatureNumList::operator[](), SVM289_BFS::POLY, SVM289_BFS::powi(), SVM289_BFS::PRECOMPUTED, SVM289_BFS::RBF, and SVM289_BFS::SIGMOID.
Implements SVM289_BFS::QMatrix.
Reimplemented in SVM289_BFS::SVR_Q, SVM289_BFS::ONE_CLASS_Q, and SVM289_BFS::SVC_Q.
Definition at line 878 of file svm289_BFS.cpp.
Referenced by SVM289_BFS::SVC_Q::swap_index(), and SVM289_BFS::ONE_CLASS_Q::swap_index().
Definition at line 887 of file svm289_BFS.cpp.
Referenced by SVM289_BFS::SVC_Q::get_Q(), SVM289_BFS::ONE_CLASS_Q::get_Q(), SVM289_BFS::SVR_Q::get_Q(), Kernel(), SVM289_BFS::ONE_CLASS_Q::ONE_CLASS_Q(), SVM289_BFS::SVC_Q::SVC_Q(), and SVM289_BFS::SVR_Q::SVR_Q().