celeste::Solver_NU Class Reference

Inheritance diagram for celeste::Solver_NU:

Inheritance graph
List of all members.

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)

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

SolutionInfo * si

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]

Definition at line 1188 of file svm.cpp.

References celeste::Solver::G, celeste::Solver::is_lower_bound(), celeste::Solver::is_upper_bound(), and celeste::Solver::y.

Referenced by do_shrinking().

double celeste::Solver_NU::calculate_rho (  )  [private, virtual]

Reimplemented from celeste::Solver.

Definition at line 1260 of file svm.cpp.

References celeste::Solver::active_size, celeste::Solver::G, INF, celeste::Solver::is_lower_bound(), celeste::Solver::is_upper_bound(), celeste::max(), celeste::min(), si, and celeste::Solver::y.

void celeste::Solver_NU::do_shrinking (  )  [private, virtual]

Reimplemented from celeste::Solver.

Definition at line 1208 of file svm.cpp.

References celeste::Solver::active_size, be_shrunk(), celeste::Solver::eps, celeste::Solver::G, INF, celeste::Solver::is_lower_bound(), celeste::Solver::is_upper_bound(), celeste::Solver::l, celeste::max(), celeste::Solver::reconstruct_gradient(), celeste::Solver::swap_index(), celeste::Solver::unshrink, and celeste::Solver::y.

int celeste::Solver_NU::select_working_set ( int &  i,
int &  j 
) [private, virtual]

Reimplemented from celeste::Solver.

Definition at line 1076 of file svm.cpp.

References celeste::Solver::active_size, celeste::Solver::eps, celeste::Solver::G, celeste::QMatrix::get_Q(), INF, celeste::Solver::is_lower_bound(), celeste::Solver::is_upper_bound(), celeste::max(), celeste::Solver::Q, celeste::Solver::QD, TAU, and celeste::Solver::y.

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 celeste::Solver::Q, and celeste::Solver::Solve().

Referenced by 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().

The documentation for this class was generated from the following file:
Generated on 16 Mar 2018 for Hugintrunk by  doxygen 1.4.7