CEBL
2.1
|
#include <WindowedSVD.hpp>
Public Member Functions | |
WindowedSVD () | |
std::map< std::string, CEBL::Param > | getParamsList () |
get and set the parameter list to the feature extractor | |
void | setParamsList (std::map< std::string, CEBL::Param > &) |
set the parameter list | |
ublas::matrix< double > | use (const ublas::matrix< double > &) |
use feature on data and return new matrix | |
void | reset () |
reset the buffer | |
map< string, SerializedObject > | save () const |
save plugin to list, and return it | |
void | load (map< string, SerializedObject > objects) |
![]() | |
virtual | ~Feature () |
void | setSampleRate (int sample_rate) |
virtual bool | needsTraining () |
virtual void | train () |
virtual bool | isTrained () |
![]() | |
Plugin () | |
virtual | ~Plugin () |
void | halt () |
tell classifier to halt | |
string | getName () const |
get the name of the plugin | |
virtual void | load (map< string, SerializedObject > objects) |
load plugin from list of objects |
Additional Inherited Members | |
![]() | |
int | sample_rate |
![]() | |
string | plugin_name |
bool | should_halt |
Definition at line 26 of file WindowedSVD.hpp.
CEBL::WindowedSVD::WindowedSVD | ( | ) |
Definition at line 10 of file WindowedSVD.cpp.
|
virtual |
get and set the parameter list to the feature extractor
Reimplemented from CEBL::Plugin.
Definition at line 19 of file WindowedSVD.cpp.
References CEBL::Param::setMax(), and CEBL::Param::setMin().
void CEBL::WindowedSVD::load | ( | map< string, SerializedObject > | objects | ) |
Definition at line 163 of file WindowedSVD.cpp.
References CEBL::deserialize().
|
virtual |
reset the buffer
reset the feature
Reimplemented from CEBL::Feature.
Definition at line 171 of file WindowedSVD.cpp.
|
virtual |
save plugin to list, and return it
Reimplemented from CEBL::Plugin.
Definition at line 154 of file WindowedSVD.cpp.
References CEBL::serialize().
|
virtual |
set the parameter list
Reimplemented from CEBL::Plugin.
Definition at line 40 of file WindowedSVD.cpp.
|
virtual |
use feature on data and return new matrix
featurize the data and return the result
Implements CEBL::Feature.
Definition at line 57 of file WindowedSVD.cpp.
References cppR::cbind(), cppR::createMatrix(), cppR::SvdStruct< T >::d, cppR::Lag(), cppR::ncol(), cppR::nrow(), cppR::rbind(), cppR::submatrix(), cppR::svd(), cppR::t(), cppR::SvdStruct< T >::u, and cppR::SvdStruct< T >::v.