Package de.bwaldvogel.liblinear
Interface Function
- All Known Implementing Classes:
L2R_ErmFunction
,L2R_L2_SvcFunction
,L2R_L2_SvrFunction
,L2R_LrFunction
interface Function
-
Method Summary
Modifier and TypeMethodDescriptiondouble
fun
(double[] w) void
get_diag_preconditioner
(double[] M) int
void
grad
(double[] w, double[] g) void
Hv
(double[] s, double[] Hs) default double
linesearch_and_update
(double[] w, double[] s, MutableDouble f, double[] g, double alpha)
-
Method Details
-
fun
double fun(double[] w) -
grad
void grad(double[] w, double[] g) -
Hv
void Hv(double[] s, double[] Hs) -
get_nr_variable
int get_nr_variable() -
get_diag_preconditioner
void get_diag_preconditioner(double[] M) -
linesearch_and_update
default double linesearch_and_update(double[] w, double[] s, MutableDouble f, double[] g, double alpha)
-