-
Notifications
You must be signed in to change notification settings - Fork 1
2.2 Network File Format
version(<major version>,<minor version>,<revision>)
The version clause refers to the format version of the .enn file. This is to allow backwards compatibility as the file format changes. The version clause appears first in the file
E.g.
version(1,0,0)
name(<network name>,<major version>,<minor version>,<revision>)
The name clause contains the name of the network and its version status.
E.g.
name(save2,0,0,0)
networkTopology(<number of input nodes>,<number of hidden nodes>,<number of output nodes>)
The network topology clause contains the network topology. It must precede any other clause that requires the shape of the network to be know (i.e. node, link, inputoutputvector and inputvector see below).
E.g.
networkTopology(2,2,2)
learning(<learning rate>,<momentum>)
The learning clause contains the learning information applied to the learning phase.
E.g.
learning(0.50,0.00)
There is only one layer modifier available. This indicates that the network has a unary bias node added to the input layer:
layerModifier(0, biasNode:true)
comment(<text>)
The comment clause can contain any text and will be ignored. Comments can occur anywhere in the file.
E.g.
comment(link count: 2)
node(<layer number>,<node number>,<bias>)
The node clause stores the node bias for each node.
E.g.
node(1,0,0.54344648)
link(<layer number>,<node number>,<link number>,<weight>)
The link clause stores the link weight for each link.
E.g.
link(0,2,1,2.71911407)