Skylark (Sketching Library)
0.1
|
#include <FRFT.hpp>
Public Types | |
typedef FastRFT_t < InputMatrixType, OutputMatrixType > | transform_t |
typedef FastGaussianRFT_data_t | data_type |
typedef data_type::params_t | params_t |
Public Member Functions | |
FastGaussianRFT_t (int N, int S, double sigma, base::context_t &context) | |
FastGaussianRFT_t (int N, int S, const params_t ¶ms, base::context_t &context) | |
template<typename OtherInputMatrixType , typename OtherOutputMatrixType > | |
FastGaussianRFT_t (const FastGaussianRFT_t< OtherInputMatrixType, OtherOutputMatrixType > &other) | |
FastGaussianRFT_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 |
FastRandom Features for Gaussian Kernel
typedef FastGaussianRFT_data_t skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::data_type |
typedef data_type::params_t skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::params_t |
typedef FastRFT_t<InputMatrixType, OutputMatrixType > skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::transform_t |
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t | ( | int | N, |
int | S, | ||
double | sigma, | ||
base::context_t & | context | ||
) | [inline] |
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t | ( | int | N, |
int | S, | ||
const params_t & | params, | ||
base::context_t & | context | ||
) | [inline] |
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t | ( | const FastGaussianRFT_t< OtherInputMatrixType, OtherOutputMatrixType > & | other | ) | [inline] |
skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::FastGaussianRFT_t | ( | const data_type & | other | ) | [inline] |
void skylark::sketch::FastGaussianRFT_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::FastGaussianRFT_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::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::get_data | ( | ) | const [inline, virtual] |
int skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::get_N | ( | ) | const [inline, virtual] |
Get input dimesion.
Implements skylark::sketch::sketch_transform_t< InputMatrixType, OutputMatrixType >.
int skylark::sketch::FastGaussianRFT_t< InputMatrixType, OutputMatrixType >::get_S | ( | ) | const [inline, virtual] |
Get output dimesion.
Implements skylark::sketch::sketch_transform_t< InputMatrixType, OutputMatrixType >.