Package gov.nih.mipav.model.algorithms
Class LIBSVM.Solver_NU
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.LIBSVM.Solver
-
- gov.nih.mipav.model.algorithms.LIBSVM.Solver_NU
-
- Enclosing class:
- LIBSVM
final class LIBSVM.Solver_NU extends LIBSVM.Solver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.model.algorithms.LIBSVM.Solver
LIBSVM.Solver.SolutionInfo
-
-
Field Summary
Fields Modifier and Type Field Description private LIBSVM.Solver.SolutionInfo
si
-
Fields inherited from class gov.nih.mipav.model.algorithms.LIBSVM.Solver
active_set, active_size, alpha, alpha_status, Cn, Cp, eps, FREE, G, G_bar, INF, l, LOWER_BOUND, p, Q, QD, unshrink, UPPER_BOUND, y
-
-
Constructor Summary
Constructors Constructor Description Solver_NU()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
be_shrunk(int i, double Gmax1, double Gmax2, double Gmax3, double Gmax4)
(package private) double
calculate_rho()
(package private) void
do_shrinking()
(package private) int
select_working_set(int[] working_set)
(package private) void
Solve(int l, LIBSVM.QMatrix Q, double[] p, byte[] y, double[] alpha, double Cp, double Cn, double eps, LIBSVM.Solver.SolutionInfo si, int shrinking)
-
Methods inherited from class gov.nih.mipav.model.algorithms.LIBSVM.Solver
get_C, is_free, is_lower_bound, is_upper_bound, reconstruct_gradient, swap_index, update_alpha_status
-
-
-
-
Field Detail
-
si
private LIBSVM.Solver.SolutionInfo si
-
-
Method Detail
-
Solve
void Solve(int l, LIBSVM.QMatrix Q, double[] p, byte[] y, double[] alpha, double Cp, double Cn, double eps, LIBSVM.Solver.SolutionInfo si, int shrinking)
- Overrides:
Solve
in classLIBSVM.Solver
-
select_working_set
int select_working_set(int[] working_set)
- Overrides:
select_working_set
in classLIBSVM.Solver
-
be_shrunk
private boolean be_shrunk(int i, double Gmax1, double Gmax2, double Gmax3, double Gmax4)
-
do_shrinking
void do_shrinking()
- Overrides:
do_shrinking
in classLIBSVM.Solver
-
calculate_rho
double calculate_rho()
- Overrides:
calculate_rho
in classLIBSVM.Solver
-
-