CEBL  2.1
Public Member Functions
CEBL::WindowedSVD Class Reference

#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, 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 26 of file WindowedSVD.hpp.


Constructor & Destructor Documentation

CEBL::WindowedSVD::WindowedSVD ( )

Definition at line 10 of file WindowedSVD.cpp.


Member Function Documentation

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

void CEBL::WindowedSVD::reset ( )
virtual

reset the buffer

reset the feature

Reimplemented from CEBL::Feature.

Definition at line 171 of file WindowedSVD.cpp.

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

save plugin to list, and return it

Reimplemented from CEBL::Plugin.

Definition at line 154 of file WindowedSVD.cpp.

References CEBL::serialize().

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

set the parameter list

Reimplemented from CEBL::Plugin.

Definition at line 40 of file WindowedSVD.cpp.

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


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