rehashing
Public Member Functions | Public Attributes | List of all members
SketchTable Class Reference

Public Member Functions

 SketchTable (shared_ptr< MatrixXd > X, double w, int k, std::mt19937_64 &rng)
 
size_t getkey (VectorXd v)
 
vector< pair< int, double > > sample (int n, std::mt19937_64 &rng)
 

Public Attributes

unordered_map< size_t, vector< int > > table
 
vector< size_t > bucket_keys
 
vector< size_t > bucket_size
 
vector< double > weights
 
discrete_distribution sampling_distribution
 
MatrixXd G
 
VectorXd b
 
double binWidth
 
double gamma = 1
 
int samples
 
int numHash
 

The documentation for this class was generated from the following file: