Classes | Package Functions | Package Attributes | Static Package Attributes | Private Member Functions
libsvm.Solver Class Reference
Inheritance diagram for libsvm.Solver:
Inheritance graph
[legend]

List of all members.

Classes

class  SolutionInfo

Package Functions

double calculate_rho ()
void do_shrinking ()
double get_C (int i)
boolean is_free (int i)
boolean is_lower_bound (int i)
boolean is_upper_bound (int i)
void reconstruct_gradient ()
int select_working_set (int[] working_set)
void Solve (int l, QMatrix Q, double[] p_, byte[] y_, double[] alpha_, double Cp, double Cn, double eps, SolutionInfo si, int shrinking)
void swap_index (int i, int j)
void update_alpha_status (int i)

Package Attributes

int[] active_set
int active_size
double[] alpha
byte[] alpha_status
double Cn
double Cp
double eps
double[] G
double[] G_bar
int l
double[] p
QMatrix Q
double[] QD
boolean unshrink
byte[] y

Static Package Attributes

static final byte FREE = 2
static final double INF = java.lang.Double.POSITIVE_INFINITY
static final byte LOWER_BOUND = 0
static final byte UPPER_BOUND = 1

Private Member Functions

boolean be_shrunk (int i, double Gmax1, double Gmax2)

Detailed Description

Definition at line 302 of file svm.java.


Member Function Documentation

boolean libsvm.Solver.be_shrunk ( int  i,
double  Gmax1,
double  Gmax2 
) [inline, private]

Definition at line 758 of file svm.java.

double libsvm.Solver.calculate_rho ( ) [inline, package]

Reimplemented in libsvm.Solver_NU.

Definition at line 838 of file svm.java.

void libsvm.Solver.do_shrinking ( ) [inline, package]

Reimplemented in libsvm.Solver_NU.

Definition at line 778 of file svm.java.

double libsvm.Solver.get_C ( int  i) [inline, package]

Definition at line 323 of file svm.java.

boolean libsvm.Solver.is_free ( int  i) [inline, package]

Definition at line 337 of file svm.java.

boolean libsvm.Solver.is_lower_bound ( int  i) [inline, package]

Definition at line 336 of file svm.java.

boolean libsvm.Solver.is_upper_bound ( int  i) [inline, package]

Definition at line 335 of file svm.java.

void libsvm.Solver.reconstruct_gradient ( ) [inline, package]

Definition at line 361 of file svm.java.

int libsvm.Solver.select_working_set ( int[]  working_set) [inline, package]

Reimplemented in libsvm.Solver_NU.

Definition at line 659 of file svm.java.

void libsvm.Solver.Solve ( int  l,
QMatrix  Q,
double[]  p_,
byte[]  y_,
double[]  alpha_,
double  Cp,
double  Cn,
double  eps,
SolutionInfo  si,
int  shrinking 
) [inline, package]

Definition at line 403 of file svm.java.

void libsvm.Solver.swap_index ( int  i,
int  j 
) [inline, package]

Definition at line 349 of file svm.java.

void libsvm.Solver.update_alpha_status ( int  i) [inline, package]

Definition at line 327 of file svm.java.


Member Data Documentation

int [] libsvm.Solver.active_set [package]

Definition at line 316 of file svm.java.

Definition at line 303 of file svm.java.

double [] libsvm.Solver.alpha [package]

Definition at line 310 of file svm.java.

byte [] libsvm.Solver.alpha_status [package]

Definition at line 309 of file svm.java.

double libsvm.Solver.Cn [package]

Definition at line 314 of file svm.java.

double libsvm.Solver.Cp [package]

Definition at line 314 of file svm.java.

double libsvm.Solver.eps [package]

Definition at line 313 of file svm.java.

final byte libsvm.Solver.FREE = 2 [static, package]

Definition at line 308 of file svm.java.

double [] libsvm.Solver.G [package]

Definition at line 305 of file svm.java.

double [] libsvm.Solver.G_bar [package]

Definition at line 317 of file svm.java.

final double libsvm.Solver.INF = java.lang.Double.POSITIVE_INFINITY [static, package]

Definition at line 321 of file svm.java.

int libsvm.Solver.l [package]

Definition at line 318 of file svm.java.

final byte libsvm.Solver.LOWER_BOUND = 0 [static, package]

Definition at line 306 of file svm.java.

double [] libsvm.Solver.p [package]

Definition at line 315 of file svm.java.

Definition at line 311 of file svm.java.

double [] libsvm.Solver.QD [package]

Definition at line 312 of file svm.java.

boolean libsvm.Solver.unshrink [package]

Definition at line 319 of file svm.java.

final byte libsvm.Solver.UPPER_BOUND = 1 [static, package]

Definition at line 307 of file svm.java.

byte [] libsvm.Solver.y [package]

Definition at line 304 of file svm.java.


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


libsvm3
Author(s): various
autogenerated on Wed Nov 27 2013 11:36:23