Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
celeste::Solver_NU Class Reference
Inheritance diagram for celeste::Solver_NU:
Inheritance graph

Public Member Functions

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

Private Member Functions

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

Private Attributes

SolutionInfosi
 

Additional Inherited Members

- Protected Types inherited from celeste::Solver
enum  { LOWER_BOUND, UPPER_BOUND, FREE }
 
- Protected Member Functions inherited from celeste::Solver
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 inherited from celeste::Solver
int active_size
 
schary
 
double * G
 
char * alpha_status
 
double * alpha
 
const QMatrixQ
 
const double * QD
 
double eps
 
double Cp
 
double Cn
 
double * p
 
int * active_set
 
double * G_bar
 
int l
 
bool unshrink
 

Detailed Description

Definition at line 1056 of file svm.cpp.

Constructor & Destructor Documentation

celeste::Solver_NU::Solver_NU ( )
inline

Definition at line 1059 of file svm.cpp.

Member Function Documentation

bool celeste::Solver_NU::be_shrunk ( int  i,
double  Gmax1,
double  Gmax2,
double  Gmax3,
double  Gmax4 
)
private
double celeste::Solver_NU::calculate_rho ( )
privatevirtual
void celeste::Solver_NU::do_shrinking ( )
privatevirtual
int celeste::Solver_NU::select_working_set ( int &  i,
int &  j 
)
privatevirtual
void celeste::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 1060 of file svm.cpp.

References si, and celeste::Solver::Solve().

Referenced by celeste::solve_nu_svc(), and celeste::solve_nu_svr().

Member Data Documentation

SolutionInfo* celeste::Solver_NU::si
private

Definition at line 1068 of file svm.cpp.

Referenced by calculate_rho(), and Solve().


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