Class L2R_ErmFunction

    • Field Detail

      • C

        final double[] C
      • wx

        double[] wx
      • tmp

        double[] tmp
      • wTw

        private double wTw
      • regularize_bias

        final boolean regularize_bias
    • Constructor Detail

      • L2R_ErmFunction

        L2R_ErmFunction​(Problem prob,
                        Parameter parameter,
                        double[] C)
    • Method Detail

      • Xv

        void Xv​(double[] v,
                double[] Xv)
      • XTv

        void XTv​(double[] v,
                 double[] XTv)
      • C_times_loss

        protected abstract double C_times_loss​(int i,
                                               double wx_i)
      • fun

        public double fun​(double[] w)
        Specified by:
        fun in interface Function