|
CEBL
2.1
|
#include <IncrementalSVD.hpp>
Public Member Functions | |
| IncrementalSVD () | |
| 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) |
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 | |
| virtual void | load (map< string, SerializedObject > objects) |
| load plugin from list of objects | |
Additional Inherited Members | |
Protected Attributes inherited from CEBL::Feature | |
| int | sample_rate |
Protected Attributes inherited from CEBL::Plugin | |
| string | plugin_name |
| bool | should_halt |
Definition at line 35 of file IncrementalSVD.hpp.
| CEBL::IncrementalSVD::IncrementalSVD | ( | ) |
Definition at line 9 of file IncrementalSVD.cpp.
|
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 20 of file IncrementalSVD.cpp.
References CEBL::Param::setMax(), CEBL::Param::setMin(), and CEBL::Param::setStep().
| void CEBL::IncrementalSVD::load | ( | map< string, SerializedObject > | objects | ) |
Definition at line 117 of file IncrementalSVD.cpp.
References CEBL::deserialize().
|
virtual |
reset the buffer
reset the feature
Reimplemented from CEBL::Feature.
Definition at line 125 of file IncrementalSVD.cpp.
|
virtual |
save plugin to list, and return it
Reimplemented from CEBL::Plugin.
Definition at line 109 of file IncrementalSVD.cpp.
References CEBL::serialize().
|
virtual |
set list of parameters
Reimplemented from CEBL::Plugin.
Definition at line 40 of file IncrementalSVD.cpp.
|
virtual |
use feature on data and return new matrix
featureize data and return the result
Implements CEBL::Feature.
Definition at line 55 of file IncrementalSVD.cpp.
References cppR::Lag(), cppR::ncol(), cppR::nrow(), and cppR::submatrix().
1.8.1.1