利用动态神经网络(NAR)做预测时,利用nnstart界面建立好网络后,但不知道怎么做预测,麻烦解读一下。
这是只有输出的网络,训练完后。在我想做预测,不知道接下来该如何编写。:
% Solve an Autoregression Time-Series Problem with a NAR Neural Network
% Script generated by NTSTOOL
% Created Wed Dec 02 17:31:17 CST 2015
%
% This script assumes this variable is defined:
%
% x0 - feedback time series.
targetSeries = tonndata(x0,false,false);
% Create a Nonlinear Autoregressive Network
feedbackDelays = 1:2;
hiddenLayerSize = 10;
net = narnet(feedbackDelays,hiddenLayerSize);
% Prepare the Data for Training and Simulation
% The function PREPARETS prepares timeseries data for a particular network,
% shifting time by the minimum amount to fill input states and layer states.
% Using PREPARETS allows you to keep your original time series da

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/40258.html