📄 bukefen.m
字号:
P=[-0.5 -0.5 0.3 -0.1 -0.8;-0.5 0.5 -0.5 1 0];
T=[1 1 0 0 0];
plotpv(P,T);
net=newp([-40 1;-1 50],1);
%对训练前的样本进行绘图,并获得绘图的句柄linehandle
hold on
plot(P,T);
linehandle=plotpc(net.iw{1},net.b{1});
%设定自适应循环次数为3
net.adaptParam.passes=3;
linehandle=plotpc(net.iw{1},net.b{1});
for a=1:25
[net,Y,E]=adapt(net,P,T);
linehandle=plotpc(net.iw{1},net.b{1},linehandle);drawnow;
end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -