diff options
| author | ziejd2 | 2018-03-14 23:23:33 -0500 |
|---|---|---|
| committer | GitHub | 2018-03-14 23:23:33 -0500 |
| commit | 1ff6baa44e22b91eefb48aea6f3befa078c0489b (patch) | |
| tree | e0fd79d2e32fd2aedda2eadaed0f19af3514c520 /sourcecodes/bnt-master/nethelp3.3/datread.htm | |
| parent | 6882395afdadf4e982b25b5215071a0932730950 (diff) | |
| parent | c80226899f5cdd9f11c163817d59445213f5bef0 (diff) | |
| download | BNW-1ff6baa44e22b91eefb48aea6f3befa078c0489b.tar.gz | |
Merge pull request #1 from ziejd2/octave_php_separate
Octave php separate
Diffstat (limited to 'sourcecodes/bnt-master/nethelp3.3/datread.htm')
| -rw-r--r-- | sourcecodes/bnt-master/nethelp3.3/datread.htm | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/nethelp3.3/datread.htm b/sourcecodes/bnt-master/nethelp3.3/datread.htm new file mode 100644 index 00000000..78f087eb --- /dev/null +++ b/sourcecodes/bnt-master/nethelp3.3/datread.htm @@ -0,0 +1,57 @@ +<html> +<head> +<title> +Netlab Reference Manual datread +</title> +</head> +<body> +<H1> datread +</H1> +<h2> +Purpose +</h2> +Read data from an ascii file. + +<p><h2> +Synopsis +</h2> +<PRE> +[x, t, nin, nout, ndata] = datread(filename) +</PRE> + + +<p><h2> +Description +</h2> + +<p><CODE>[x, t, nin, nout, ndata] = datread(filename)</CODE> reads from +the file <CODE>filename</CODE> and returns a matrix <CODE>x</CODE> of input vectors, +a matrix <CODE>t</CODE> of target vectors, and integers <CODE>nin</CODE>, <CODE>nout</CODE> +and <CODE>ndata</CODE> specifying the number of inputs, the number of outputs +and the number of data points respectively. + +<p>The format of the data file is as follows: the first row contains the +string <CODE>nin</CODE> followed by the number of inputs, the second row +contains the string <CODE>nout</CODE> followed by the number of outputs, and +the third row contains the string <CODE>ndata</CODE> 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. + +<p><h2> +Example +</h2> +For the XOR data set we have + +<p><h2> +See Also +</h2> +<CODE><a href="nin2nout1ndata40.000000e+000.000000e+001.000000e+000.000000e+001.000000e+000.000000e+001.000000e+000.000000e+000.000000e+001.000000e+001.000000e+001.000000e+00SeeAlsodatwrite.htm">nin2nout1ndata40.000000e+000.000000e+001.000000e+000.000000e+001.000000e+000.000000e+001.000000e+000.000000e+000.000000e+001.000000e+001.000000e+001.000000e+00SeeAlsodatwrite</a></CODE><hr> +<b>Pages:</b> +<a href="index.htm">Index</a> +<hr> +<p>Copyright (c) Ian T Nabney (1996-9) + + +</body> +</html> \ No newline at end of file |
