pt.tumba.ngram.svm
Class SolverNU
java.lang.Object
pt.tumba.ngram.svm.Solver
pt.tumba.ngram.svm.SolverNU
final class SolverNU
- extends Solver
Solver for nu-svm classification and regression
additional constraint: e^T \alpha = constant
Fields inherited from class pt.tumba.ngram.svm.Solver |
activeSet, activeSize, alpha, alphaStatus, b, Cn, Cp, eps, FREE, G, GBar, INF, l, LOWER_BOUND, Q, unshrinked, UPPER_BOUND, y |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
si
private Solver.SolutionInfo si
SolverNU
SolverNU()
Solve
void Solve(int l,
Kernel Q,
double[] b,
byte[] y,
double[] alpha,
double Cp,
double Cn,
double eps,
Solver.SolutionInfo si,
boolean shrinking)
- Overrides:
Solve
in class Solver
selectWorkingSet
int selectWorkingSet(int[] working_set)
- Overrides:
selectWorkingSet
in class Solver
doShrinking
void doShrinking()
- Overrides:
doShrinking
in class Solver
calculateRho
double calculateRho()
- Overrides:
calculateRho
in class Solver