Page 1 of 1

Universal Training and Validation Script

Posted: Thu 27. Oct 2011, 22:01
by TJetter
This is a training and validation script which can be used with most time invariant neural net applications. For time variant nets used for time series prediction take a look here instead: viewtopic.php?f=14&t=327

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 V7.3.0.0 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 '' 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.