| 
    rehashing
    
   | 
 
#include <AdaptiveRS.h>
  
Public Member Functions | |
| AdaptiveRS (shared_ptr< MatrixXd > data, shared_ptr< Kernel > k, double lb, double eps) | |
| AdaptiveRS (shared_ptr< MatrixXd > data, shared_ptr< Kernel > k, int samples, double lb, double eps) | |
  Public Member Functions inherited from AdaptiveEstimator | |
| std::vector< double > | query (VectorXd q) | 
| void | setMedians (int l) | 
Protected Member Functions | |
| std::vector< double > | evaluateQuery (VectorXd q, int level) | 
Protected Attributes | |
| double | lb | 
| std::mt19937_64 | rng | 
  Protected Attributes inherited from AdaptiveEstimator | |
| int | numPoints | 
| double | gamma = 0.5 | 
| int | I | 
| int | L = 3 | 
| std::vector< double > | mui | 
| std::vector< int > | Mi | 
| std::vector< double > | ti | 
| std::vector< int > | ki | 
| std::vector< double > | wi | 
| double | r | 
| std::string | EXP_STR = "exp" | 
Additional Inherited Members | |
  Public Attributes inherited from AdaptiveEstimator | |
| double | totalTime = 0 | 
Adaptive sampling via random sampling.
| AdaptiveRS::AdaptiveRS | ( | shared_ptr< MatrixXd > | data, | 
| shared_ptr< Kernel > | k, | ||
| double | lb, | ||
| double | eps | ||
| ) | 
| data | |
| k | |
| lb | minimum density | 
| eps | relative error | 
| AdaptiveRS::AdaptiveRS | ( | shared_ptr< MatrixXd > | data, | 
| shared_ptr< Kernel > | k, | ||
| int | samples, | ||
| double | lb, | ||
| double | eps | ||
| ) | 
| data | dataset | 
| k | kernel | 
| samples | size of random sample reservoir | 
| lb | minimum density | 
| eps | relative error | 
      
  | 
  protectedvirtual | 
For subclasses to implement: evaluate density of query q at the given level.
Implements AdaptiveEstimator.
 1.8.15