#include <MoMEstimator.h>
 | 
| double  | query (VectorXd q, double lb, int m) | 
|   | 
 | 
| virtual std::vector< double >  | MoM (VectorXd q, int L, int m)=0 | 
|   | 
Base class for median-of-means estimators. 
 
◆ MoM()
  
  
      
        
          | virtual std::vector<double> MoMEstimator::MoM  | 
          ( | 
          VectorXd  | 
          q,  | 
         
        
           | 
           | 
          int  | 
          L,  | 
         
        
           | 
           | 
          int  | 
          m  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedpure virtual   | 
  
 
- Parameters
 - 
  
    | q | query  | 
    | L | median of L means  | 
    | m | means of m samples  | 
  
   
- Returns
 - : a vector of L elements, where each element is a sum of m samples 
 
Implemented in SketchHBE, RS, and UniformHBE.
 
 
◆ query()
  
  
      
        
          | double MoMEstimator::query  | 
          ( | 
          VectorXd  | 
          q,  | 
         
        
           | 
           | 
          double  | 
          lb,  | 
         
        
           | 
           | 
          int  | 
          m  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
- Parameters
 - 
  
    | q | query  | 
    | lb | lower bound of query density  | 
    | m | means of m samples  | 
  
   
- Returns
 - : estimate of query if it's > lb, otherwise 0 
 
 
 
◆ totalTime
      
        
          | double MoMEstimator::totalTime = 0 | 
        
      
 
 
The documentation for this class was generated from the following file: