What is the function of the class NeuralNet?
It simply represents a neural net. It has two constructors. One is for creating a multilayer perceptron with given parameters. The other is a more general constructor. Using it you can create generalized feed forward nets, modular feed forward nets, as well as multilayer perceptrons. It reads a configuration file and creates a net out of the parameters in this file. If you don’t code your own editing application, you have to edit the file manually. It has methods for saving the current configuration, loading previously saved weights, saving current weights, feeding forward, calculating errors and for all kind of training methods. It has a sub class called ‘Layer’. This simply represents a layer and facilitates calculations during feed forward and back propagation.
Related Questions
- Why do I need to change the version number in the IMPLEMENT_SERIAL macro if I change the Serialize function in the record custom class?
- Do all declarations for the same static function or variable have to include the storage class static?
- Should a derived class replace ("override") a non-virtual function from a base class?