1、内容简介
略
549-可以交流、咨询、答疑
2、内容说明
略
3、仿真分析
clc
close all
clear
data = xlsread('data(1).xlsx')';
numtrn = 250;
XTrain = inputData(:,1:numtrn);
YTrain = outputData(:,1:numtrn);
XValidation = inputData(:,numtrn+1:end);
YValidation = outputData(:,numtrn+1:end);
net = newff( minmax(XTrain) , [8 16 32 hour] , {'tansig','tansig','tansig','tansig','purelin'} , 'trainlm' ) ;
%设置训练参数
net.trainparam.show = 50 ;
net.trainparam.epochs = 300 ;
net.trainparam.goal = 0.00001 ;
net.trainParam.lr = 0.01 ;
%开始训练
% net = train( net, XTrain, YTrain) ;
net = train( net, input, output) ;
4、参考论文
略