Class Solver_NU
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.libsvm.Solver
-
- gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.libsvm.Solver_NU
-
final class Solver_NU extends Solver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.libsvm.Solver
Solver.SolutionInfo
-
-
Field Summary
Fields Modifier and Type Field Description private Solver.SolutionInfo
si
-
Fields inherited from class gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.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, QMatrix Q, double[] p, byte[] y, double[] alpha, double Cp, double Cn, double eps, Solver.SolutionInfo si, int shrinking)
-
Methods inherited from class gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.libsvm.Solver
get_C, is_free, is_lower_bound, is_upper_bound, reconstruct_gradient, swap_index, update_alpha_status
-
-
-
-
Field Detail
-
si
private Solver.SolutionInfo si
-
-
Method Detail
-
Solve
void Solve(int l, QMatrix Q, double[] p, byte[] y, double[] alpha, double Cp, double Cn, double eps, Solver.SolutionInfo si, int shrinking)
-
select_working_set
int select_working_set(int[] working_set)
- Overrides:
select_working_set
in classSolver
-
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 classSolver
-
calculate_rho
double calculate_rho()
- Overrides:
calculate_rho
in classSolver
-
-