Package de.bwaldvogel.liblinear
Interface Function
-
- All Known Implementing Classes:
L2R_ErmFunction
,L2R_L2_SvcFunction
,L2R_L2_SvrFunction
,L2R_LrFunction
interface Function
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description double
fun(double[] w)
void
get_diag_preconditioner(double[] M)
int
get_nr_variable()
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 Detail
-
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)
-
-