|
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 | |
Public Member Functions inherited from CEBL::Feature | |
| virtual | ~Feature () |
| void | setSampleRate (int sample_rate) |
| virtual bool | needsTraining () |
| virtual void | train () |
| virtual bool | isTrained () |
Public Member Functions inherited from CEBL::Plugin | |
| Plugin () | |
| virtual | ~Plugin () |
| void | halt () |
| tell classifier to halt | |
| string | getName () const |
| get the name of the plugin | |
Additional Inherited Members | |
Protected Attributes inherited from CEBL::Feature | |
| int | sample_rate |
Protected Attributes inherited from CEBL::Plugin | |
| 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().
1.8.1.1