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