|
Skylark (Sketching Library)
0.1
|
#include <MMT_data.hpp>


Classes | |
| struct | params_t |
| Params structure. More... | |
Public Types | |
| typedef hash_transform_data_t < boost::random::uniform_int_distribution, boost::random::cauchy_distribution > | base_t |
Public Member Functions | |
| MMT_data_t (int N, int S, base::context_t &context) | |
| MMT_data_t (int N, int S, const params_t ¶ms, base::context_t &context) | |
| MMT_data_t (const boost::property_tree::ptree &pt) | |
| virtual boost::property_tree::ptree | to_ptree () const |
Protected Member Functions | |
| MMT_data_t (int N, int S, const base::context_t &context, std::string type) | |
Meng-Mahoney Transform (data)
Meng-Mahoney Transform is very similar to the Clarkson-Woodruff Transform: it replaces the +1/-1 diagonal with Cauchy random enteries. Thus, it provides a low-distortion of l1-norm subspace embedding.
See Meng and Mahoney's STOC'13 paper.
Definition at line 21 of file MMT_data.hpp.
| typedef hash_transform_data_t< boost::random::uniform_int_distribution, boost::random::cauchy_distribution > skylark::sketch::MMT_data_t::base_t |
Reimplemented from skylark::sketch::hash_transform_data_t< boost::random::uniform_int_distribution, boost::random::cauchy_distribution >.
Definition at line 27 of file MMT_data.hpp.
| skylark::sketch::MMT_data_t::MMT_data_t | ( | int | N, |
| int | S, | ||
| base::context_t & | context | ||
| ) | [inline] |
| skylark::sketch::MMT_data_t::MMT_data_t | ( | int | N, |
| int | S, | ||
| const params_t & | params, | ||
| base::context_t & | context | ||
| ) | [inline] |
| skylark::sketch::MMT_data_t::MMT_data_t | ( | const boost::property_tree::ptree & | pt | ) | [inline] |
| skylark::sketch::MMT_data_t::MMT_data_t | ( | int | N, |
| int | S, | ||
| const base::context_t & | context, | ||
| std::string | type | ||
| ) | [inline, protected] |
Definition at line 66 of file MMT_data.hpp.
| virtual boost::property_tree::ptree skylark::sketch::MMT_data_t::to_ptree | ( | ) | const [inline, virtual] |
Serializes a sketch to a string.
| [out] | property_tree | describing the sketch. |
Reimplemented from skylark::sketch::hash_transform_data_t< boost::random::uniform_int_distribution, boost::random::cauchy_distribution >.
Definition at line 58 of file MMT_data.hpp.
References skylark::sketch::sketch_transform_data_t::add_common().

1.7.6.1