celeste::Solver_NU Class Reference

Inheritance diagram for celeste::Solver_NU:

Inheritance graph
[legend]
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_shrunken (int i, double Gmax1, double Gmax2, double Gmax3, double Gmax4)
void do_shrinking ()

Private Attributes

SolutionInfo * si

Detailed Description

Definition at line 1022 of file svm.cpp.


Constructor & Destructor Documentation

celeste::Solver_NU::Solver_NU (  )  [inline]

Definition at line 1025 of file svm.cpp.


Member Function Documentation

bool celeste::Solver_NU::be_shrunken ( int  i,
double  Gmax1,
double  Gmax2,
double  Gmax3,
double  Gmax4 
) [private]

Definition at line 1154 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 1243 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 1174 of file svm.cpp.

References celeste::Solver::active_size, be_shrunken(), 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::unshrinked, and celeste::Solver::y.

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

Reimplemented from celeste::Solver.

Definition at line 1042 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 1026 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 1034 of file svm.cpp.

Referenced by calculate_rho().


The documentation for this class was generated from the following file:
Generated on 22 Oct 2014 for Hugintrunk by  doxygen 1.4.7