Package de.bwaldvogel.liblinear
Class L2R_L2_SvrFunction
- java.lang.Object
-
- de.bwaldvogel.liblinear.L2R_ErmFunction
-
- de.bwaldvogel.liblinear.L2R_L2_SvcFunction
-
- de.bwaldvogel.liblinear.L2R_L2_SvrFunction
-
- All Implemented Interfaces:
Function
public class L2R_L2_SvrFunction extends L2R_L2_SvcFunction
- Since:
- 1.91
-
-
Field Summary
Fields Modifier and Type Field Description private doublep-
Fields inherited from class de.bwaldvogel.liblinear.L2R_L2_SvcFunction
I, sizeI
-
Fields inherited from class de.bwaldvogel.liblinear.L2R_ErmFunction
C, prob, regularize_bias, tmp, wx
-
-
Constructor Summary
Constructors Constructor Description L2R_L2_SvrFunction(Problem prob, Parameter param, double[] C)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected doubleC_times_loss(int i, double wx_i)voidgrad(double[] w, double[] g)-
Methods inherited from class de.bwaldvogel.liblinear.L2R_L2_SvcFunction
get_diag_preconditioner, Hv, subXTv
-
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)- Overrides:
C_times_lossin classL2R_L2_SvcFunction
-
grad
public void grad(double[] w, double[] g)- Specified by:
gradin interfaceFunction- Overrides:
gradin classL2R_L2_SvcFunction
-
-