19#ifndef LM_RANDOMFEATURE__ 
   20#define LM_RANDOMFEATURE__ 
   22#include <yarp/sig/Matrix.h> 
   27namespace learningmachine {
 
   65    virtual void writeBottle(yarp::os::Bottle& bot) 
const;
 
   70    virtual void readBottle(yarp::os::Bottle& bot);
 
   97    virtual yarp::sig::Vector 
transform(
const yarp::sig::Vector& input);
 
  122    virtual void reset();
 
  127    virtual bool configure(yarp::os::Searchable &config);
 
 
Implementation of Random Feature preprocessing.
 
double gamma
Gamma parameter, analoguous to same parameter in RBF kernel.
 
virtual void readBottle(yarp::os::Bottle &bot)
Unserializes a transformer from a bottle.
 
virtual bool configure(yarp::os::Searchable &config)
 
virtual std::string getConfigHelp()
Asks the transformer to return a string containing the list of configuration options that it supports...
 
yarp::sig::Matrix W
Projection matrix W.
 
virtual ~RandomFeature()
Destructor (empty).
 
virtual yarp::sig::Vector transform(const yarp::sig::Vector &input)
Transforms an input vector.
 
yarp::sig::Vector b
Bias vector b.
 
virtual void reset()
Forget everything and start over.
 
virtual void setCoDomainSize(unsigned int size)
Mutator for the codomain size.
 
virtual RandomFeature * clone()
Asks the transformer to return a new object of its type.
 
virtual void setDomainSize(unsigned int size)
Mutator for the domain size.
 
virtual std::string getInfo()
Asks the transformer to return a string containing statistics on its operation so far.
 
virtual void setGamma(double g)
Mutator for the gamma parameter.
 
virtual void writeBottle(yarp::os::Bottle &bot) const
Writes a serialization of the transformer into a bottle.
 
virtual double getGamma() const
Accessor for the gamma parameter.
 
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.