19#ifndef LM_SPARSESPECTRUMFEATURE__
20#define LM_SPARSESPECTRUMFEATURE__
22#include <yarp/sig/Matrix.h>
27namespace learningmachine {
58 yarp::sig::Vector
ell;
73 virtual void readBottle(yarp::os::Bottle& bot);
85 yarp::sig::Vector
ell = yarp::sig::Vector(0));
102 virtual yarp::sig::Vector
transform(
const yarp::sig::Vector& input);
127 virtual void reset();
132 virtual bool configure(yarp::os::Searchable &config);
166 virtual void setEll(yarp::sig::Vector&
ell);
Implementation of Sparse Spectrum preprocessing.
virtual yarp::sig::Vector & getEll()
Accessor for the characteristic length-scales parameter ell.
double sigma
Noise parameter sigma.
yarp::sig::Vector ell
Characteristic length-scales ell, analoguous to same parameter in asymmetric RBF kernel.
virtual std::string getConfigHelp()
Asks the transformer to return a string containing the list of configuration options that it supports...
virtual ~SparseSpectrumFeature()
Destructor (empty).
virtual void reset()
Forget everything and start over.
virtual double getSigma()
Accessor for the sigma parameter.
virtual void readBottle(yarp::os::Bottle &bot)
Unserializes a transformer from a bottle.
virtual void setSigma(double s)
Mutator for the sigma parameter.
virtual void setDomainSize(unsigned int size)
Mutator for the domain size.
virtual bool configure(yarp::os::Searchable &config)
virtual yarp::sig::Vector transform(const yarp::sig::Vector &input)
Transforms an input vector.
virtual std::string getInfo()
Asks the transformer to return a string containing statistics on its operation so far.
virtual void setEll(yarp::sig::Vector &ell)
Mutator for the characteristic length-scales parameter ell.
virtual void setCoDomainSize(unsigned int size)
Mutator for the codomain size.
yarp::sig::Matrix W
Projection matrix W.
virtual SparseSpectrumFeature * clone()
Asks the transformer to return a new object of its type.
virtual void writeBottle(yarp::os::Bottle &bot)
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.