CEBL
2.1
|
#include <Lag.hpp>
Public Member Functions | |
Lag () | |
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 list of parameters | |
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) |
load plugin from list of 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 |
Additional Inherited Members | |
![]() | |
int | sample_rate |
![]() | |
string | plugin_name |
bool | should_halt |
|
virtual |
get and set the parameter list to the feature extractor
get list of parameters needed for feature
Reimplemented from CEBL::Plugin.
Definition at line 16 of file Lag.cpp.
References CEBL::Param::setMax(), and CEBL::Param::setMin().
|
virtual |
load plugin from list of objects
Reimplemented from CEBL::Plugin.
Definition at line 95 of file Lag.cpp.
References CEBL::deserialize().
|
virtual |
|
virtual |
save plugin to list, and return it
Reimplemented from CEBL::Plugin.
Definition at line 88 of file Lag.cpp.
References CEBL::serialize().
|
virtual |
|
virtual |
use feature on data and return new matrix
featureize data and return the result
Implements CEBL::Feature.
Definition at line 42 of file Lag.cpp.
References cppR::Lag(), cppR::ncol(), cppR::nrow(), and cppR::submatrix().