Universal Training and Validation Script
The script loads a neural net as well as a training and a validation data set (lessons). It trains the net and visualizes the reaction of the net in response to both training and validation data, Finally, the script exports the net's reaction to the validation data into a csv file. The export contains the validation inputs, the validation outputs of the net and the original validation target output data.
The latest version of the script (only compatible with MemBrain V18.104.22.168 and higher) also exports the same data for the training lesson and additionally generates a csv file of the net error graph.
The script contains several adjustable parameters like timings and file names. A comment block in the beginning of the script explains the detailed functionalities.
Simply unzip the file into a separate folder. Then copy your neural net, your training and your validation lessons (mbl files) into the same folder, adjust the file names in the script 'TrainValidate.as' according to the copied files and execute the script file via the MemBrain menu option <Scripting><Execute Script>.
The script exits automatically after the time period which has been configured in the constants section of the script.
<Edit 17 Jan 2017>
Replaced zip files. 3 zip files available now for backwards compatibility with older MemBrain versions.