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
-
Nested Class Summary
Nested classes/interfaces inherited from class gov.nih.mipav.model.algorithms.LIBSVM.Solver
LIBSVM.Solver.SolutionInfo -
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanbe_shrunk(int i, double Gmax1, double Gmax2, double Gmax3, double Gmax4) (package private) double(package private) void(package private) intselect_working_set(int[] working_set) (package private) voidSolve(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 Details
-
si
-
-
Constructor Details
-
Solver_NU
Solver_NU()
-
-
Method Details
-
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:
Solvein classLIBSVM.Solver
-
select_working_set
int select_working_set(int[] working_set) - Overrides:
select_working_setin 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_shrinkingin classLIBSVM.Solver
-
calculate_rho
double calculate_rho()- Overrides:
calculate_rhoin classLIBSVM.Solver
-