我用matlab编写的RBFN神经网络预测模型,供大家参考
<P> %rbfn predict<BR> close all<BR> clear all<BR>load tempz5000;</P><P>p=x(1:100,1:6);p=p';<BR>t=x(1:100,8);t=t';<BR> net=newgrnn(p,t,0.065);%0.065 is the spread parameter with ess=4.86,it should be check,standard data 0.1 the best with an ess=5<BR> y=sim(net,p);<BR> ess=t-y;<BR> res=(norm(ess)).^2<BR> %---check<BR>m=x(101:200,1:6);m=m';<BR>n2=x(101:200,8);n2=n2';<BR> n=sim(net,m);<BR> ess2=n-n2;<BR> figure(1);<BR> plot(ess2,'r-o')<BR> res2=norm(ess2).^2<BR> figure(3)<BR> i=10:90;<BR> plot(i,n2(i),'k-+',i,n(i),'b-*')<BR> title('predict :black is true,blue is mrls ')<BR><BR>注意,其中的tempz5000文件是6输入1输出,此处略</P> 虽然不是做这方面的,还是项一下:) 求BP神经网络的编程实例 这程序你还有啊 发给我吧, 我论文急用啊 邮箱:qqxutiancheng@126.com 不是发在上面了吗,bp和rbfn差不多 thank you 运行出现错误!! 我看的不是很懂,能解释下吗?
我刚接触MATLAB 谢谢了 呵呵
怎么也得谢谢
虽然不下
页:
[1]
