Daniel@0: Daniel@0: Daniel@0: Daniel@0: Netlab Reference Manual datwrite Daniel@0: Daniel@0: Daniel@0: Daniel@0:

datwrite Daniel@0:

Daniel@0:

Daniel@0: Purpose Daniel@0:

Daniel@0: Write data to ascii file. Daniel@0: Daniel@0:

Daniel@0: Synopsis Daniel@0:

Daniel@0:
Daniel@0: datwrite(filename, x, t)
Daniel@0: 
Daniel@0: Daniel@0: Daniel@0:

Daniel@0: Description 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: Example Daniel@0:

Daniel@0: For the XOR data set we have 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:

Daniel@0: See Also Daniel@0:

Daniel@0: datread
Daniel@0: Pages: Daniel@0: Index Daniel@0:
Daniel@0:

Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: