📄 datwrite.htm
字号:
<html><head><title>Netlab Reference Manual datwrite</title></head><body><H1> datwrite</H1><h2>Purpose</h2>Write data to ascii file.<p><h2>Synopsis</h2><PRE>datwrite(filename, x, t)</PRE><p><h2>Description</h2><p><CODE>datwrite(filename, x, t)</CODE> takes a matrix <CODE>x</CODE> of input vectorsand a matrix <CODE>t</CODE> of target vectors and writes them to an asciifile named <CODE>filename</CODE>. The file format is as follows: the firstrow contains the string <CODE>nin</CODE> followed by the number of inputs,the second row contains the string <CODE>nout</CODE> followed by the numberof outputs, and the third row contains the string <CODE>ndata</CODE> followedby the number of data vectors. Subsequent lines each contain one inputvector followed by one output vector, with individual values separatedby spaces.<p><h2>Example</h2>For the XOR data set we have<p><PRE> 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 </PRE><p><h2>See Also</h2><CODE><a href="datread.htm">datread</a></CODE><hr><b>Pages:</b><a href="index.htm">Index</a><hr><p>Copyright (c) Ian T Nabney (1996-9)</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -