Detailed Description
class SVMSGD 
Definition at line 33 of file SVMSGD.h.
List of all members.
Constructor & Destructor Documentation
constructor
- Parameters:
 - 
  
  
 
Definition at line 111 of file SVMSGD.cpp.
 
 
constructor
- Parameters:
 - 
  
     | C  | constant C  | 
     | traindat  | training features  | 
     | trainlab  | labels for training features  | 
  
   
Definition at line 120 of file SVMSGD.cpp.
 
 
Member Function Documentation
      
        
          | void calibrate  | 
          ( | 
           | 
           )  | 
           [protected] | 
        
      
 
 
      
        
          | bool get_bias_enabled  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
check if bias is enabled
- Returns:
 - if bias is enabled 
 
Definition at line 115 of file SVMSGD.h.
 
 
get C1
- Returns:
 - C1 
 
Definition at line 85 of file SVMSGD.h.
 
 
get C2
- Returns:
 - C2 
 
Definition at line 91 of file SVMSGD.h.
 
 
get classifier type
- Returns:
 - classifier type SVMOCAS 
 
Reimplemented from CClassifier.
Definition at line 61 of file SVMSGD.h.
 
 
get epochs
- Returns:
 - the number of training epochs 
 
Definition at line 103 of file SVMSGD.h.
 
 
      
        
          | virtual const char* get_name  | 
          ( | 
          void  | 
           | 
           )  | 
           const [virtual] | 
        
      
 
 
      
        
          | bool get_regularized_bias_enabled  | 
          ( | 
           | 
           )  | 
           | 
        
      
 
check if regularized bias is enabled
- Returns:
 - if regularized bias is enabled 
 
Definition at line 127 of file SVMSGD.h.
 
 
      
        
          | void set_bias_enabled  | 
          ( | 
          bool  | 
           enable_bias | 
           )  | 
           | 
        
      
 
set if bias shall be enabled
- Parameters:
 - 
  
     | enable_bias  | if bias shall be enabled  | 
  
   
Definition at line 109 of file SVMSGD.h.
 
 
set C
- Parameters:
 - 
  
     | c_neg  | new C constant for negatively labeled examples  | 
     | c_pos  | new C constant for positively labeled examples  | 
  
   
Definition at line 79 of file SVMSGD.h.
 
 
      
        
          | void set_epochs  | 
          ( | 
          int32_t  | 
           e | 
           )  | 
           | 
        
      
 
set epochs
- Parameters:
 - 
  
     | e  | new number of training epochs  | 
  
   
Definition at line 97 of file SVMSGD.h.
 
 
      
        
          | void set_regularized_bias_enabled  | 
          ( | 
          bool  | 
           enable_bias | 
           )  | 
           | 
        
      
 
set if regularized bias shall be enabled
- Parameters:
 - 
  
     | enable_bias  | if regularized bias shall be enabled  | 
  
   
Definition at line 121 of file SVMSGD.h.
 
 
      
        
          | bool train  | 
          ( | 
          CFeatures *  | 
           data = NULL | 
           )  | 
           [virtual] | 
        
      
 
train classifier
- Parameters:
 - 
  
     | data  | training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data) | 
  
   
- Returns:
 - whether training was successful 
 
Reimplemented from CClassifier.
Definition at line 135 of file SVMSGD.cpp.
 
 
The documentation for this class was generated from the following files: