Skylark (Sketching Library)
0.1
|
#include <RFT.hpp>
Public Types | |
typedef RFT_t< InputMatrixType, OutputMatrixType, bstrand::cauchy_distribution > | transform_t |
typedef LaplacianRFT_data_t | data_type |
typedef data_type::params_t | params_t |
Public Member Functions | |
LaplacianRFT_t (int N, int S, double sigma, base::context_t &context) | |
LaplacianRFT_t (int N, int S, const params_t ¶ms, base::context_t &context) | |
LaplacianRFT_t (const boost::property_tree::ptree &pt) | |
template<typename OtherInputMatrixType , typename OtherOutputMatrixType > | |
LaplacianRFT_t (const LaplacianRFT_t< OtherInputMatrixType, OtherOutputMatrixType > &other) | |
LaplacianRFT_t (const data_type &other) | |
void | apply (const typename transform_t::matrix_type &A, typename transform_t::output_matrix_type &sketch_of_A, columnwise_tag dimension) const |
void | apply (const typename transform_t::matrix_type &A, typename transform_t::output_matrix_type &sketch_of_A, rowwise_tag dimension) const |
int | get_N () const |
int | get_S () const |
const sketch_transform_data_t * | get_data () const |
Random Features for Laplacian Kernel
typedef LaplacianRFT_data_t skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::data_type |
typedef data_type::params_t skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::params_t |
typedef RFT_t<InputMatrixType, OutputMatrixType, bstrand::cauchy_distribution > skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::transform_t |
skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::LaplacianRFT_t | ( | int | N, |
int | S, | ||
double | sigma, | ||
base::context_t & | context | ||
) | [inline] |
skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::LaplacianRFT_t | ( | int | N, |
int | S, | ||
const params_t & | params, | ||
base::context_t & | context | ||
) | [inline] |
skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::LaplacianRFT_t | ( | const boost::property_tree::ptree & | pt | ) | [inline] |
skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::LaplacianRFT_t | ( | const LaplacianRFT_t< OtherInputMatrixType, OtherOutputMatrixType > & | other | ) | [inline] |
skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::LaplacianRFT_t | ( | const data_type & | other | ) | [inline] |
void skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::apply | ( | const typename transform_t::matrix_type & | A, |
typename transform_t::output_matrix_type & | sketch_of_A, | ||
columnwise_tag | dimension | ||
) | const [inline] |
void skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::apply | ( | const typename transform_t::matrix_type & | A, |
typename transform_t::output_matrix_type & | sketch_of_A, | ||
rowwise_tag | dimension | ||
) | const [inline] |
const sketch_transform_data_t* skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::get_data | ( | ) | const [inline, virtual] |
int skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::get_N | ( | ) | const [inline, virtual] |
Get input dimension.
Implements skylark::sketch::sketch_transform_t< InputMatrixType, OutputMatrixType >.
Definition at line 213 of file RFT.hpp.
References skylark::sketch::sketch_transform_data_t::_N.
int skylark::sketch::LaplacianRFT_t< InputMatrixType, OutputMatrixType >::get_S | ( | ) | const [inline, virtual] |
Get output dimension.
Implements skylark::sketch::sketch_transform_t< InputMatrixType, OutputMatrixType >.
Definition at line 214 of file RFT.hpp.
References skylark::sketch::sketch_transform_data_t::_S.