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