19#ifndef LM_TRAINEVENT__
20#define LM_TRAINEVENT__
24#include <yarp/sig/Vector.h>
31namespace learningmachine {
A class that represents a prediction result.
A TrainEvent is raised when the machine handles a training sample.
yarp::sig::Vector & getInput()
Accessor for the vector of inputs.
yarp::sig::Vector & getDesired()
Accessor for the vector of desired outputs.
yarp::sig::Vector desired
Vector of desired outputs.
std::string toString()
Returns a string representation of the Event.
virtual void visit(IEventListener &listener)
Causes the Event to visit an EventListener.
virtual ~TrainEvent()
Destructor (empty).
Prediction & getPredicted()
Accessor for the prediction.
yarp::sig::Vector input
Vector of inputs.
Prediction predicted
Predicted outputs.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.