CEBL  2.1
Public Member Functions
CEBL::IncrementalSVD Class Reference

#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, SerializedObjectsave () 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

Detailed Description

Definition at line 35 of file IncrementalSVD.hpp.


Constructor & Destructor Documentation

CEBL::IncrementalSVD::IncrementalSVD ( )

Definition at line 9 of file IncrementalSVD.cpp.


Member Function Documentation

std::map< std::string, CEBL::Param > CEBL::IncrementalSVD::getParamsList ( )
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().

void CEBL::IncrementalSVD::reset ( )
virtual

reset the buffer

reset the feature

Reimplemented from CEBL::Feature.

Definition at line 125 of file IncrementalSVD.cpp.

map< string, SerializedObject > CEBL::IncrementalSVD::save ( ) const
virtual

save plugin to list, and return it

Reimplemented from CEBL::Plugin.

Definition at line 109 of file IncrementalSVD.cpp.

References CEBL::serialize().

void CEBL::IncrementalSVD::setParamsList ( std::map< std::string, CEBL::Param > &  params)
virtual

set list of parameters

Reimplemented from CEBL::Plugin.

Definition at line 40 of file IncrementalSVD.cpp.

Matrix CEBL::IncrementalSVD::use ( const ublas::matrix< double > &  data)
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().


The documentation for this class was generated from the following files: