Package de.bwaldvogel.liblinear
Class L2R_L2_SvcFunction
- java.lang.Object
-
- de.bwaldvogel.liblinear.L2R_ErmFunction
-
- de.bwaldvogel.liblinear.L2R_L2_SvcFunction
-
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
L2R_L2_SvrFunction
class L2R_L2_SvcFunction extends L2R_ErmFunction
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]
I
protected int
sizeI
-
Fields inherited from class de.bwaldvogel.liblinear.L2R_ErmFunction
C, prob, regularize_bias, tmp, wx
-
-
Constructor Summary
Constructors Constructor Description L2R_L2_SvcFunction(Problem prob, Parameter param, double[] C)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
C_times_loss(int i, double wx_i)
void
get_diag_preconditioner(double[] M)
void
grad(double[] w, double[] g)
void
Hv(double[] s, double[] Hs)
protected void
subXTv(double[] v, double[] XTv)
-
Methods inherited from class de.bwaldvogel.liblinear.L2R_ErmFunction
fun, get_nr_variable, linesearch_and_update, XTv, Xv
-
-
-
-
Method Detail
-
C_times_loss
protected double C_times_loss(int i, double wx_i)
- Specified by:
C_times_loss
in classL2R_ErmFunction
-
grad
public void grad(double[] w, double[] g)
-
get_diag_preconditioner
public void get_diag_preconditioner(double[] M)
-
Hv
public void Hv(double[] s, double[] Hs)
-
subXTv
protected void subXTv(double[] v, double[] XTv)
-
-