edu.udo.cs.mySVM.Optimizer
Class quadraticProblemSMO
java.lang.Object
edu.udo.cs.mySVM.Optimizer.quadraticProblem
edu.udo.cs.mySVM.Optimizer.quadraticProblemSMO
public class quadraticProblemSMO
- extends quadraticProblem
A quadratic optimization problem.
- Version:
- $Id: quadraticProblemSMO.java,v 1.7 2006/03/21 15:35:36 ingomierswa
Exp $
- Author:
- Stefan Rueping
Fields inherited from class edu.udo.cs.mySVM.Optimizer.quadraticProblem |
A, b, c, H, l, lambda_eq, m, max_allowed_error, n, u, x |
Method Summary |
protected void |
calc_lambda_eq()
|
protected boolean |
minimize_ij(int i,
int j)
|
void |
set_n(int new_n)
|
protected void |
simple_solve(int i,
int j,
double H1,
double H2,
double c0,
double c1,
double c2,
double A1,
double A2,
double l1,
double l2,
double u1,
double u2)
|
int |
solve()
|
protected double |
x1tox2(double x1,
boolean id,
double A2,
double b)
|
protected double |
x2tox1(double x2,
boolean id,
double A1,
double b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sum
protected double[] sum
is_zero
protected double is_zero
max_iteration
protected int max_iteration
quadraticProblemSMO
public quadraticProblemSMO()
quadraticProblemSMO
public quadraticProblemSMO(double is_zero,
double max_allowed_error,
int max_iteration)
set_n
public void set_n(int new_n)
- Overrides:
set_n
in class quadraticProblem
x2tox1
protected final double x2tox1(double x2,
boolean id,
double A1,
double b)
x1tox2
protected final double x1tox2(double x1,
boolean id,
double A2,
double b)
simple_solve
protected final void simple_solve(int i,
int j,
double H1,
double H2,
double c0,
double c1,
double c2,
double A1,
double A2,
double l1,
double l2,
double u1,
double u2)
minimize_ij
protected final boolean minimize_ij(int i,
int j)
calc_lambda_eq
protected final void calc_lambda_eq()
- Specified by:
calc_lambda_eq
in class quadraticProblem
solve
public final int solve()
- Specified by:
solve
in class quadraticProblem
Copyright © 2001-2006