comparison toolboxes/FullBNT-1.0.7/nethelp3.3/datwrite.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 <html>
2 <head>
3 <title>
4 Netlab Reference Manual datwrite
5 </title>
6 </head>
7 <body>
8 <H1> datwrite
9 </H1>
10 <h2>
11 Purpose
12 </h2>
13 Write data to ascii file.
14
15 <p><h2>
16 Synopsis
17 </h2>
18 <PRE>
19 datwrite(filename, x, t)
20 </PRE>
21
22
23 <p><h2>
24 Description
25 </h2>
26
27 <p><CODE>datwrite(filename, x, t)</CODE> takes a matrix <CODE>x</CODE> of input vectors
28 and a matrix <CODE>t</CODE> of target vectors and writes them to an ascii
29 file named <CODE>filename</CODE>. The file format is as follows: the first
30 row contains the string <CODE>nin</CODE> followed by the number of inputs,
31 the second row contains the string <CODE>nout</CODE> followed by the number
32 of outputs, and the third row contains the string <CODE>ndata</CODE> followed
33 by the number of data vectors. Subsequent lines each contain one input
34 vector followed by one output vector, with individual values separated
35 by spaces.
36
37 <p><h2>
38 Example
39 </h2>
40 For the XOR data set we have
41
42 <p><PRE>
43
44 nin 2
45 nout 1
46 ndata 4
47 0.000000e+00 0.000000e+00 1.000000e+00
48 0.000000e+00 1.000000e+00 0.000000e+00
49 1.000000e+00 0.000000e+00 0.000000e+00
50 1.000000e+00 1.000000e+00 1.000000e+00
51 </PRE>
52
53
54 <p><h2>
55 See Also
56 </h2>
57 <CODE><a href="datread.htm">datread</a></CODE><hr>
58 <b>Pages:</b>
59 <a href="index.htm">Index</a>
60 <hr>
61 <p>Copyright (c) Ian T Nabney (1996-9)
62
63
64 </body>
65 </html>