Daniel@0: Daniel@0:
Daniel@0:Daniel@0: datwrite(filename, x, t) Daniel@0:Daniel@0: Daniel@0: Daniel@0:
datwrite(filename, x, t)
takes a matrix x
of input vectors
Daniel@0: and a matrix t
of target vectors and writes them to an ascii
Daniel@0: file named filename
. The file format is as follows: the first
Daniel@0: row contains the string nin
followed by the number of inputs,
Daniel@0: the second row contains the string nout
followed by the number
Daniel@0: of outputs, and the third row contains the string ndata
followed
Daniel@0: by the number of data vectors. Subsequent lines each contain one input
Daniel@0: vector followed by one output vector, with individual values separated
Daniel@0: by spaces.
Daniel@0:
Daniel@0:
Daniel@0: Daniel@0: nin 2 Daniel@0: nout 1 Daniel@0: ndata 4 Daniel@0: 0.000000e+00 0.000000e+00 1.000000e+00 Daniel@0: 0.000000e+00 1.000000e+00 0.000000e+00 Daniel@0: 1.000000e+00 0.000000e+00 0.000000e+00 Daniel@0: 1.000000e+00 1.000000e+00 1.000000e+00 Daniel@0:Daniel@0: Daniel@0: Daniel@0:
datread
Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: