10. File Formats
The file format to a network configuration file is shown below . It can be created in any text editor.
#name TestNetwork #numGroups 2 #numLayersPre 4 #numLayersMain 4 #inputSizeX 16 #inputSizeY 24 #numIter 10 #numDiv 1000 #hotSpotFilePre inputPatterns.patt #hotSpotFileMain inputPatterns2.patt |
The title of each variable must start with a ‘#’, otherwise it will not be detected when it is read by the application. A configuration file must contain all sections as shown above. Otherwise network creation will not be successful. Hotspot file path names are the location of the neuron connectivity pattern files that will be used for this network. The full path should be specified.
An example neuron connectivity file is shown below. It must end with the end tag shown. Also only ‘_’ and ‘#’ characters should be used otherwise the file will not be processed correctly. Each pattern needs the be separated by a ‘@’ symbol.
@1 ___#____ ___#____ ___#____ ___#____ ___#____ ___#____ ___#____ ___#____ @2 ________ ________ ________ ________ ######## ________ ________ ________ @3 ________ ________ ____#___ ____#___ __####__ ____#___ ____#___ ________ --end |