Class Kernel

    • Field Detail

      • x_square

        private final double[] x_square
      • kernel_type

        private final int kernel_type
      • degree

        private final int degree
      • gamma

        private final double gamma
      • coef0

        private final double coef0
    • Method Detail

      • get_Q

        abstract float[] get_Q​(int column,
                               int len)
        Specified by:
        get_Q in class QMatrix
      • get_QD

        abstract double[] get_QD()
        Specified by:
        get_QD in class QMatrix
      • swap_index

        void swap_index​(int i,
                        int j)
        Specified by:
        swap_index in class QMatrix
      • powi

        private static double powi​(double base,
                                   int times)
      • kernel_function

        double kernel_function​(int i,
                               int j)