Logo Search packages:      
Sourcecode: e1071 version File versions  Download package

Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

Solver_NU Class Reference

Inheritance diagram for Solver_NU:
Inheritance graph
Collaboration diagram for Solver_NU:
Collaboration graph

List of all members.

Public Member Functions

void Solve (int l, const QMatrix &Q, const double *b, const schar *y, double *alpha, double Cp, double Cn, double eps, SolutionInfo *si, int shrinking)

Protected Types


Protected Member Functions

double get_C (int i)
bool is_free (int i)
bool is_lower_bound (int i)
bool is_upper_bound (int i)
virtual int max_violating_pair (int &i, int &j)
void reconstruct_gradient ()
void swap_index (int i, int j)
void update_alpha_status (int i)

Protected Attributes

int * active_set
int active_size
double * alpha
char * alpha_status
double * b
double Cn
double Cp
double eps
double * G
double * G_bar
int l
const QMatrixQ
const Qfloat * QD
bool unshrinked
schar * y

Private Member Functions

double calculate_rho ()
void do_shrinking ()
int select_working_set (int &i, int &j)

Private Attributes


Detailed Description

Definition at line 1012 of file svm.cpp.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index