Definition at line 864 of file SVM_libsvm.cpp.
Public Member Functions | |
Solver_NU () | |
void | Solve (int p_l, const QMatrix &p_Q, const double *p_p, const schar *p_y, double *p_alpha, double p_Cp, double p_Cn, double p_eps, SolutionInfo *p_si, int shrinking) |
void | Solve (int l, const QMatrix &Q, const double *p_, const schar *y_, double *alpha_, double Cp, double Cn, double eps, SolutionInfo *si, int shrinking) |
Protected Types | |
enum | { LOWER_BOUND, UPPER_BOUND, FREE } |
Protected Member Functions | |
double | get_C (int i) |
void | update_alpha_status (int i) |
bool | is_upper_bound (int i) |
bool | is_lower_bound (int i) |
bool | is_free (int i) |
void | swap_index (int i, int j) |
void | reconstruct_gradient () |
Protected Attributes | |
int | active_size |
schar * | y |
double * | G |
char * | alpha_status |
double * | alpha |
const QMatrix * | Q |
const Qfloat * | QD |
double | eps |
double | Cp |
double | Cn |
double * | p |
int * | active_set |
double * | G_bar |
int | l |
bool | unshrinked |
anonymous enum [protected, inherited] |
Solver_NU::Solver_NU | ( | ) |
Definition at line 867 of file SVM_libsvm.cpp.
void Solver_NU::Solve | ( | int | p_l, | |
const QMatrix & | p_Q, | |||
const double * | p_p, | |||
const schar * | p_y, | |||
double * | p_alpha, | |||
double | p_Cp, | |||
double | p_Cn, | |||
double | p_eps, | |||
SolutionInfo * | p_si, | |||
int | shrinking | |||
) |
Definition at line 868 of file SVM_libsvm.cpp.
void Solver::Solve | ( | int | l, | |
const QMatrix & | Q, | |||
const double * | p_, | |||
const schar * | y_, | |||
double * | alpha_, | |||
double | Cp, | |||
double | Cn, | |||
double | eps, | |||
SolutionInfo * | si, | |||
int | shrinking | |||
) | [inherited] |
Definition at line 360 of file SVM_libsvm.cpp.
double Solver::get_C | ( | int | i | ) | [protected, inherited] |
Definition at line 304 of file SVM_libsvm.cpp.
void Solver::update_alpha_status | ( | int | i | ) | [protected, inherited] |
Definition at line 308 of file SVM_libsvm.cpp.
bool Solver::is_upper_bound | ( | int | i | ) | [protected, inherited] |
Definition at line 316 of file SVM_libsvm.cpp.
bool Solver::is_lower_bound | ( | int | i | ) | [protected, inherited] |
Definition at line 317 of file SVM_libsvm.cpp.
bool Solver::is_free | ( | int | i | ) | [protected, inherited] |
Definition at line 318 of file SVM_libsvm.cpp.
void Solver::swap_index | ( | int | i, | |
int | j | |||
) | [protected, inherited] |
Definition at line 328 of file SVM_libsvm.cpp.
void Solver::reconstruct_gradient | ( | ) | [protected, inherited] |
Definition at line 340 of file SVM_libsvm.cpp.
int Solver::active_size [protected, inherited] |
Definition at line 288 of file SVM_libsvm.cpp.
Definition at line 289 of file SVM_libsvm.cpp.
double* Solver::G [protected, inherited] |
Definition at line 290 of file SVM_libsvm.cpp.
char* Solver::alpha_status [protected, inherited] |
Definition at line 292 of file SVM_libsvm.cpp.
double* Solver::alpha [protected, inherited] |
Definition at line 293 of file SVM_libsvm.cpp.
Definition at line 294 of file SVM_libsvm.cpp.
const Qfloat* Solver::QD [protected, inherited] |
Definition at line 295 of file SVM_libsvm.cpp.
double Solver::eps [protected, inherited] |
Definition at line 296 of file SVM_libsvm.cpp.
double Solver::Cp [protected, inherited] |
Definition at line 297 of file SVM_libsvm.cpp.
double Solver::Cn [protected, inherited] |
Definition at line 297 of file SVM_libsvm.cpp.
double* Solver::p [protected, inherited] |
Definition at line 298 of file SVM_libsvm.cpp.
int* Solver::active_set [protected, inherited] |
Definition at line 299 of file SVM_libsvm.cpp.
double* Solver::G_bar [protected, inherited] |
Definition at line 300 of file SVM_libsvm.cpp.
int Solver::l [protected, inherited] |
Definition at line 301 of file SVM_libsvm.cpp.
bool Solver::unshrinked [protected, inherited] |
Definition at line 302 of file SVM_libsvm.cpp.