📄 loadtrset.m
字号:
% annie - Neural Network Library for C++
% http://annie.sourceforge.net/
% asimshankar@users.sourceforge.net
%
% Last Modified On :
% January 12, 2003
%
% Author(s):
% Asim Shankar
%
% This file contains code showing how to
% load an annie training set into Matlab.
% The first step is to use the command-line
% utility - matlab2annie (in the Matlab Extensions
% Pack) to generate the input and output matrices.
%
% In this code we assume that those two files are
% Pt.txt and Tt.txt
%
% The way matlab2annie works, it generates the transpose
% of what is required by the Neural Network Toolbox. So
% we take the transpose again, in order to get the matrices
% P and T.
%
% See also: createNetwork.m for instructions on creating
% a network and on training it.
P = load('Pt.txt');
T = load('Tt.txt');
P = P';
T = T';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -