Skylark (Sketching Library)
0.1
|
#include <RLT_data.hpp>
Public Types | |
typedef dense_transform_data_t < KernelDistribution > | underlying_data_type |
typedef sketch_transform_data_t | base_t |
Public Member Functions | |
RLT_data_t (int N, int S, double inscale, double outscale, skylark::base::context_t &context) | |
virtual boost::property_tree::ptree | to_ptree () const |
Protected Member Functions | |
RLT_data_t (int N, int S, double inscale, double outscale, const skylark::base::context_t &context, std::string type) | |
base::context_t | build () |
Protected Attributes | |
double | _inscale |
double | _outscale |
boost::shared_ptr < underlying_data_type > | _underlying_data |
Random Laplace Transform (data)
Sketch transform into Eucledian space of fuctions in an RKHS implicitly defined by a vector and a semigroup kernel.
See:
Random Laplace Feature Maps for Semigroup Kernels on Histograms
Definition at line 27 of file RLT_data.hpp.
typedef sketch_transform_data_t skylark::sketch::RLT_data_t< KernelDistribution >::base_t |
Reimplemented in skylark::sketch::ExpSemigroupRLT_data_t.
Definition at line 30 of file RLT_data.hpp.
typedef dense_transform_data_t<KernelDistribution> skylark::sketch::RLT_data_t< KernelDistribution >::underlying_data_type |
Definition at line 29 of file RLT_data.hpp.
skylark::sketch::RLT_data_t< KernelDistribution >::RLT_data_t | ( | int | N, |
int | S, | ||
double | inscale, | ||
double | outscale, | ||
skylark::base::context_t & | context | ||
) | [inline] |
Definition at line 32 of file RLT_data.hpp.
skylark::sketch::RLT_data_t< KernelDistribution >::RLT_data_t | ( | int | N, |
int | S, | ||
double | inscale, | ||
double | outscale, | ||
const skylark::base::context_t & | context, | ||
std::string | type | ||
) | [inline, protected] |
Definition at line 56 of file RLT_data.hpp.
base::context_t skylark::sketch::RLT_data_t< KernelDistribution >::build | ( | ) | [inline, protected] |
random samples should only be drawn here, return context after random samples have been extracted.
Reimplemented from skylark::sketch::sketch_transform_data_t.
Definition at line 64 of file RLT_data.hpp.
Referenced by skylark::sketch::RLT_data_t< utility::standard_levy_distribution_t >::RLT_data_t().
virtual boost::property_tree::ptree skylark::sketch::RLT_data_t< KernelDistribution >::to_ptree | ( | ) | const [inline, virtual] |
Serializes a sketch to a string.
[out] | property_tree | describing the sketch. |
Implements skylark::sketch::sketch_transform_data_t.
Reimplemented in skylark::sketch::ExpSemigroupRLT_data_t.
Definition at line 46 of file RLT_data.hpp.
double skylark::sketch::RLT_data_t< KernelDistribution >::_inscale [protected] |
Definition at line 71 of file RLT_data.hpp.
Referenced by skylark::sketch::RLT_data_t< utility::standard_levy_distribution_t >::build().
double skylark::sketch::RLT_data_t< KernelDistribution >::_outscale [protected] |
Definition at line 72 of file RLT_data.hpp.
boost::shared_ptr<underlying_data_type> skylark::sketch::RLT_data_t< KernelDistribution >::_underlying_data [protected] |
Scaling for exponential factor Data of the underlying dense transformation
Definition at line 74 of file RLT_data.hpp.
Referenced by skylark::sketch::RLT_data_t< utility::standard_levy_distribution_t >::build().