Class LIBSVM.Solver

  • Direct Known Subclasses:
    LIBSVM.Solver_NU
    Enclosing class:
    LIBSVM

    class LIBSVM.Solver
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int[] active_set  
      (package private) int active_size  
      (package private) double[] alpha  
      (package private) byte[] alpha_status  
      (package private) double Cn  
      (package private) double Cp  
      (package private) double eps  
      (package private) byte FREE  
      (package private) double[] G  
      (package private) double[] G_bar  
      (package private) double INF  
      (package private) int l  
      (package private) byte LOWER_BOUND  
      (package private) double[] p  
      (package private) LIBSVM.QMatrix Q  
      (package private) double[] QD  
      (package private) boolean unshrink  
      (package private) byte UPPER_BOUND  
      (package private) byte[] y  
    • Constructor Summary

      Constructors 
      Constructor Description
      Solver()  
    • Constructor Detail

      • Solver

        Solver()
    • Method Detail

      • get_C

        double get_C​(int i)
      • update_alpha_status

        void update_alpha_status​(int i)
      • is_upper_bound

        boolean is_upper_bound​(int i)
      • is_lower_bound

        boolean is_lower_bound​(int i)
      • is_free

        boolean is_free​(int i)
      • swap_index

        void swap_index​(int i,
                        int j)
      • reconstruct_gradient

        void reconstruct_gradient()
      • select_working_set

        int select_working_set​(int[] working_set)
      • be_shrunk

        private boolean be_shrunk​(int i,
                                  double Gmax1,
                                  double Gmax2)
      • do_shrinking

        void do_shrinking()
      • calculate_rho

        double calculate_rho()