Class to deal with training of Feed-Forward 2 layers Neural Network using IpOpt.
More...
|
| ff2LayNNTrain () |
| Default constructor. More...
|
|
void | setBounds (const yarp::os::Property &bounds) |
| Allow specifying the bounds for training network's parameters. More...
|
|
virtual bool | train (const unsigned int numHiddenNodes, const std::deque< yarp::sig::Vector > &in, const std::deque< yarp::sig::Vector > &out, std::deque< yarp::sig::Vector > &pred, double &error) |
| Train the network through optimization. More...
|
|
virtual bool | retrain (const std::deque< yarp::sig::Vector > &in, const std::deque< yarp::sig::Vector > &out, std::deque< yarp::sig::Vector > &pred, double &error) |
| Retrain the network through optimization. More...
|
|
virtual | ~ff2LayNNTrain () |
| Default destructor. More...
|
|
| ff2LayNN () |
| Create an empty network. More...
|
|
| ff2LayNN (const yarp::os::Property &options) |
| Create and configure the network. More...
|
|
virtual bool | configure (const yarp::os::Property &options) |
| Configure/reconfigure the network. More...
|
|
virtual bool | isValid () const |
| Return the internal status after a configuration. More...
|
|
virtual yarp::sig::Vector | predict (const yarp::sig::Vector &x) const |
| Predict the output given a certain input to the network. More...
|
|
virtual bool | getStructure (yarp::os::Property &options) const |
| Retrieve the network structure as a Property object. More...
|
|
virtual bool | printStructure (std::ostream &stream=std::cout) const |
| Dump tadily the network structure on the stream. More...
|
|
std::deque< yarp::sig::Vector > & | get_IW () |
| Retrieve first layer weights. More...
|
|
std::deque< yarp::sig::Vector > & | get_LW () |
| Retrieve second layer weights. More...
|
|
yarp::sig::Vector & | get_b1 () |
| Retrieve first layer bias. More...
|
|
yarp::sig::Vector & | get_b2 () |
| Retrieve second layer bias. More...
|
|
virtual yarp::sig::Vector | scaleInputToNetFormat (const yarp::sig::Vector &x) const |
| Scale input to be used with the network. More...
|
|
virtual yarp::sig::Vector | scaleInputFromNetFormat (const yarp::sig::Vector &x) const |
| Scale back input from the network's format. More...
|
|
virtual yarp::sig::Vector | scaleOutputToNetFormat (const yarp::sig::Vector &x) const |
| Scale output to be used with the network. More...
|
|
virtual yarp::sig::Vector | scaleOutputFromNetFormat (const yarp::sig::Vector &x) const |
| Scale back output from the network's format. More...
|
|
virtual yarp::sig::Vector | hiddenLayerFcn (const yarp::sig::Vector &x) const =0 |
| Hidden Layer Function. More...
|
|
virtual yarp::sig::Vector | outputLayerFcn (const yarp::sig::Vector &x) const =0 |
| Output Layer Function. More...
|
|
virtual yarp::sig::Vector | hiddenLayerGrad (const yarp::sig::Vector &x) const =0 |
| Gradient of the Hidden Layer Function. More...
|
|
virtual yarp::sig::Vector | outputLayerGrad (const yarp::sig::Vector &x) const =0 |
| Gradient of the Output Layer Function. More...
|
|
Class to deal with training of Feed-Forward 2 layers Neural Network using IpOpt.
Definition at line 53 of file neuralNetworks.h.