#include <distributionally_robust.h>
 | 
|   | ChiSquared (double _alpha, double _tau, double _wmin=0, double _wmax=std::numeric_limits< double >::infinity(), double _rmin=0, double _rmax=1) | 
|   | 
| bool  | isValid () | 
|   | 
| ChiSquared &  | update (double w, double r) | 
|   | 
| double  | qlb (double w, double r) | 
|   | 
| void  | reset (double _alpha, double _tau) | 
|   | 
| double  | lower_bound () | 
|   | 
| ScoredDual  | recompute_duals () | 
|   | 
| const double &  | effn () | 
|   | 
| void  | save_load (io_buf &model_file, bool read, bool text, const char *name) | 
|   | 
◆ ChiSquared()
  
  
      
        
          | VW::distributionally_robust::ChiSquared::ChiSquared  | 
          ( | 
          double  | 
          _alpha,  | 
         
        
           | 
           | 
          double  | 
          _tau,  | 
         
        
           | 
           | 
          double  | 
          _wmin = 0,  | 
         
        
           | 
           | 
          double  | 
          _wmax = std::numeric_limits<double>::infinity(),  | 
         
        
           | 
           | 
          double  | 
          _rmin = 0,  | 
         
        
           | 
           | 
          double  | 
          _rmax = 1  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlineexplicit   | 
  
 
 
◆ chisq_onedof_isf()
  
  
      
        
          | static double VW::distributionally_robust::ChiSquared::chisq_onedof_isf  | 
          ( | 
          double  | 
          alpha | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ effn()
  
  
      
        
          | const double& VW::distributionally_robust::ChiSquared::effn  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ isValid()
  
  
      
        
          | bool VW::distributionally_robust::ChiSquared::isValid  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ lower_bound()
  
  
      
        
          | double VW::distributionally_robust::ChiSquared::lower_bound  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ qlb()
  
  
      
        
          | double VW::distributionally_robust::ChiSquared::qlb  | 
          ( | 
          double  | 
          w,  | 
         
        
           | 
           | 
          double  | 
          r  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ recompute_duals()
      
        
          | ScoredDual VW::distributionally_robust::ChiSquared::recompute_duals  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ reset()
  
  
      
        
          | void VW::distributionally_robust::ChiSquared::reset  | 
          ( | 
          double  | 
          _alpha,  | 
         
        
           | 
           | 
          double  | 
          _tau  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ save_load()
      
        
          | void VW::distributionally_robust::ChiSquared::save_load  | 
          ( | 
          io_buf &  | 
          model_file,  | 
        
        
           | 
           | 
          bool  | 
          read,  | 
        
        
           | 
           | 
          bool  | 
          text,  | 
        
        
           | 
           | 
          const char *  | 
          name  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ update()
  
  
      
        
          | ChiSquared& VW::distributionally_robust::ChiSquared::update  | 
          ( | 
          double  | 
          w,  | 
         
        
           | 
           | 
          double  | 
          r  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ VW::model_utils::read_model_field
◆ VW::model_utils::write_model_field
The documentation for this class was generated from the following file: