Public Member Functions | |
virtual Qfloat * | get_Q (int column, int len) const =0 |
virtual double * | get_QD () const =0 |
Kernel (int l, svm_node *const *x, const svm_parameter ¶m) | |
virtual void | swap_index (int i, int j) const |
virtual | ~Kernel () |
Static Public Member Functions | |
static double | k_function (const svm_node *x, const svm_node *y, const svm_parameter ¶m) |
Protected Attributes | |
double(Kernel::* | kernel_function )(int i, int j) const |
Private Member Functions | |
double | kernel_linear (int i, int j) const |
double | kernel_poly (int i, int j) const |
double | kernel_precomputed (int i, int j) const |
double | kernel_rbf (int i, int j) const |
double | kernel_sigmoid (int i, int j) const |
Static Private Member Functions | |
static double | dot (const svm_node *px, const svm_node *py) |
Private Attributes | |
const double | coef0 |
const int | degree |
const double | gamma |
const int | kernel_type |
const svm_node ** | x |
double * | x_square |
Kernel::Kernel | ( | int | l, |
svm_node *const * | x, | ||
const svm_parameter & | param | ||
) |
Kernel::~Kernel | ( | ) | [virtual] |
double Kernel::dot | ( | const svm_node * | px, |
const svm_node * | py | ||
) | [static, private] |
virtual Qfloat* Kernel::get_Q | ( | int | column, |
int | len | ||
) | const [pure virtual] |
Implements QMatrix.
Implemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.
virtual double* Kernel::get_QD | ( | ) | const [pure virtual] |
Implements QMatrix.
Implemented in SVR_Q, ONE_CLASS_Q, and SVC_Q.
double Kernel::k_function | ( | const svm_node * | x, |
const svm_node * | y, | ||
const svm_parameter & | param | ||
) | [static] |
double Kernel::kernel_linear | ( | int | i, |
int | j | ||
) | const [inline, private] |
double Kernel::kernel_poly | ( | int | i, |
int | j | ||
) | const [inline, private] |
double Kernel::kernel_precomputed | ( | int | i, |
int | j | ||
) | const [inline, private] |
double Kernel::kernel_rbf | ( | int | i, |
int | j | ||
) | const [inline, private] |
double Kernel::kernel_sigmoid | ( | int | i, |
int | j | ||
) | const [inline, private] |
virtual void Kernel::swap_index | ( | int | i, |
int | j | ||
) | const [inline, virtual] |
const double Kernel::coef0 [private] |
const int Kernel::degree [private] |
const double Kernel::gamma [private] |
double(Kernel::* Kernel::kernel_function)(int i, int j) const [protected] |
const int Kernel::kernel_type [private] |
double* Kernel::x_square [private] |