19#ifndef LM_NORMALIZER__
20#define LM_NORMALIZER__
25namespace learningmachine {
70 virtual void readBottle(yarp::os::Bottle& bot);
84 virtual void update(
double val);
94 virtual bool configure(yarp::os::Searchable& config);
The IScaler is a linear scaler based scaler.
A class that implements normalization as a preprocessing step.
double highest
The actual highest value found in the sample values.
virtual double getUpperBound()
Accessor for the desired upper bound.
Normalizer * clone()
Asks the scaler to return a new object of its type.
double lowest
The actual lowest value found in the sample values.
double lowerBound
The desired lower bound for the normalization range.
virtual void setLowerBound(double l)
Mutator for the desired lower bound.
virtual void setUpperBound(double u)
Mutator for the desired upper bound.
double upperBound
The desired upper bound for the normalization range.
virtual void update(double val)
Feeds a single sample into the scaler, so that it can use this sample to update the offset and scale.
virtual std::string getInfo()
Asks the learning machine to return a string containing statistics on its operation so far.
virtual double getLowerBound()
Accessor for the desired lower bound.
virtual void readBottle(yarp::os::Bottle &bot)
Unserializes a scaler from a bottle.
virtual void writeBottle(yarp::os::Bottle &bot)
Writes a serialization of the scaler into a bottle.
virtual bool configure(yarp::os::Searchable &config)
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.