注册 登录
编程论坛 Matlab

我用matlab编写的RBFN神经网络预测模型,供大家参考

zhanglei845 发布于 2007-03-19 17:35, 4685 次点击

%rbfn predict
close all
clear all
load tempz5000;

p=x(1:100,1:6);p=p';
t=x(1:100,8);t=t';
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
y=sim(net,p);
ess=t-y;
res=(norm(ess)).^2
%---check
m=x(101:200,1:6);m=m';
n2=x(101:200,8);n2=n2';
n=sim(net,m);
ess2=n-n2;
figure(1);
plot(ess2,'r-o')
res2=norm(ess2).^2
figure(3)
i=10:90;
plot(i,n2(i),'k-+',i,n(i),'b-*')
title('predict :black is true,blue is mrls ')

注意,其中的tempz5000文件是6输入1输出,此处略

8 回复
#2
abingchem2007-03-20 20:28
虽然不是做这方面的,还是项一下:)
#3
qqxutianchen2007-05-07 20:03
求BP神经网络的编程实例  这程序你还有啊   发给我吧, 我论文急用啊 邮箱:qqxutiancheng@
#4
zhanglei8452007-08-05 15:57
不是发在上面了吗,bp和rbfn差不多
#5
bright9012008-04-29 13:41
thank you
#6
ppttmm2008-05-13 21:05
运行出现错误!!
#7
tianqing992008-06-13 15:45
我看的不是很懂,能解释下吗?
我刚接触MATLAB 谢谢了
#8
lakejiang2008-06-19 16:45
呵呵
怎么也得谢谢
虽然不下
#9
wlfanxin2009-07-23 11:45
运行不出来 你确定你能运行出来
1