Skip to content

2.1 Input File Format

Nick Oppen edited this page Nov 25, 2013 · 1 revision

The Input File Format

The format of an input file is:

  • A network topology clause
  • One of more input vector clauses
The default extension for the data file is “*.dat”. It is a text file that you can create with any text editor.

The network topology clause is the same as described in the Training File document.

See the example data for working versions.

The Input Vector Clause

The inputVector clause has the following format:

inputVector(<input values>)

where

<input values> is a comma separated list of floating point numbers

e.g.

inputVector(1.0,1.5,1.5)

The number of input values in the <input values> list must match the number of input nodes in the network topology clause. (The number of hidden and output nodes is irrelevant.)

The top part of the file will look like this:

networkTopology(3,2,2)

inputVector(3,-1,10)

inputVector(-4,0.1,1.5)

inputVector(5,0.001,-6)

inputVector(1.01,0.002,1.00)

inputVector(2,0.33,-2)