Class L2R_L2_SvrFunction

java.lang.Object
de.bwaldvogel.liblinear.L2R_L2_SvrFunction

public class L2R_L2_SvrFunction
extends java.lang.Object
Since:
1.91
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected int[] I  
    protected int sizeI  
  • Constructor Summary

    Constructors 
    Constructor Description
    L2R_L2_SvrFunction​(Problem prob, Parameter param, double[] C)  
  • Method Summary

    Modifier and Type Method Description
    protected double C_times_loss​(int i, double wx_i)  
    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)  
    double linesearch_and_update​(double[] w, double[] s, de.bwaldvogel.liblinear.MutableDouble f, double[] g, double alpha)  
    protected void subXTv​(double[] v, double[] XTv)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • I

      protected final int[] I
    • sizeI

      protected int sizeI
  • Constructor Details

  • Method Details

    • C_times_loss

      protected double C_times_loss​(int i, double wx_i)
    • 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)
    • fun

      public double fun​(double[] w)
    • get_nr_variable

      public int get_nr_variable()
    • linesearch_and_update

      public double linesearch_and_update​(double[] w, double[] s, de.bwaldvogel.liblinear.MutableDouble f, double[] g, double alpha)