Public Member Functions | Private Member Functions | Private Attributes | List of all members
Solver_NU Class Reference
Inheritance diagram for Solver_NU:
Inheritance graph
[legend]

Public Member Functions

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)
 
 Solver_NU ()
 
- Public Member Functions inherited from Solver
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)
 
 Solver ()
 
virtual ~Solver ()
 

Private Member Functions

bool be_shrunk (int i, double Gmax1, double Gmax2, double Gmax3, double Gmax4)
 
double calculate_rho ()
 
void do_shrinking ()
 
int select_working_set (int &i, int &j)
 

Private Attributes

SolutionInfosi
 

Additional Inherited Members

- Protected Types inherited from Solver
enum  { LOWER_BOUND, UPPER_BOUND, FREE }
 
- Protected Member Functions inherited from Solver
double get_C (int i)
 
bool is_free (int i)
 
bool is_lower_bound (int i)
 
bool is_upper_bound (int i)
 
void reconstruct_gradient ()
 
void swap_index (int i, int j)
 
void update_alpha_status (int i)
 
- Protected Attributes inherited from Solver
int * active_set
 
int active_size
 
double * alpha
 
char * alpha_status
 
double Cn
 
double Cp
 
double eps
 
double * G
 
double * G_bar
 
int l
 
double * p
 
const QMatrixQ
 
const double * QD
 
bool unshrink
 
schary
 

Detailed Description

Definition at line 1033 of file svm.cpp.

Constructor & Destructor Documentation

Solver_NU::Solver_NU ( )
inline

Definition at line 1036 of file svm.cpp.

Member Function Documentation

bool Solver_NU::be_shrunk ( int  i,
double  Gmax1,
double  Gmax2,
double  Gmax3,
double  Gmax4 
)
private

Definition at line 1165 of file svm.cpp.

double Solver_NU::calculate_rho ( )
privatevirtual

Reimplemented from Solver.

Definition at line 1237 of file svm.cpp.

void Solver_NU::do_shrinking ( )
privatevirtual

Reimplemented from Solver.

Definition at line 1185 of file svm.cpp.

int Solver_NU::select_working_set ( int &  i,
int &  j 
)
privatevirtual

Reimplemented from Solver.

Definition at line 1053 of file svm.cpp.

void Solver_NU::Solve ( int  l,
const QMatrix Q,
const double *  p,
const schar y,
double *  alpha,
double  Cp,
double  Cn,
double  eps,
SolutionInfo si,
int  shrinking 
)
inline

Definition at line 1037 of file svm.cpp.

Member Data Documentation

SolutionInfo* Solver_NU::si
private

Definition at line 1045 of file svm.cpp.


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


ml_classifiers
Author(s): Scott Niekum , Joshua Whitley
autogenerated on Sun Dec 15 2019 03:53:50