Skylark (Sketching Library)  0.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
skylark::sketch::RLT_data_t< KernelDistribution > Struct Template Reference

#include <RLT_data.hpp>

Inheritance diagram for skylark::sketch::RLT_data_t< KernelDistribution >:
Inheritance graph
[legend]
Collaboration diagram for skylark::sketch::RLT_data_t< KernelDistribution >:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

template<template< typename > class KernelDistribution>
struct skylark::sketch::RLT_data_t< KernelDistribution >

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.


Member Typedef Documentation

template<template< typename > class KernelDistribution>
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.

template<template< typename > class KernelDistribution>
typedef dense_transform_data_t<KernelDistribution> skylark::sketch::RLT_data_t< KernelDistribution >::underlying_data_type

Definition at line 29 of file RLT_data.hpp.


Constructor & Destructor Documentation

template<template< typename > class KernelDistribution>
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.

template<template< typename > class KernelDistribution>
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.


Member Function Documentation

template<template< typename > class KernelDistribution>
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().

template<template< typename > class KernelDistribution>
virtual boost::property_tree::ptree skylark::sketch::RLT_data_t< KernelDistribution >::to_ptree ( ) const [inline, virtual]

Serializes a sketch to a string.

Parameters:
[out]property_treedescribing 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.


Member Data Documentation

template<template< typename > class KernelDistribution>
double skylark::sketch::RLT_data_t< KernelDistribution >::_inscale [protected]
template<template< typename > class KernelDistribution>
double skylark::sketch::RLT_data_t< KernelDistribution >::_outscale [protected]

Definition at line 72 of file RLT_data.hpp.

template<template< typename > class KernelDistribution>
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().


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