📄 prex3mod.m
字号:
%PREX3MOD PRTOOLS example of classifiers and scatter plothelp prex3mod
pause(1)echo onload c:\prova.mat A C D% Generate two difficult classes % Training set c (100 objects / class) % Test set d (200 objects / class)figure(1);
scatterd(C);
figure(2);
scatterd(D);
echo off
num_hidden=input('Quanti neuroni nello strato hidden?');echo on
[w1,R] = bpxnc(C,num_hidden,2000,[],D);% Neural Net % Compute and display errors
figure(1);
hold off;
plot(R(:,1),R(:,2),'-'); drawnow;
hold on;
plot(R(:,1),R(:,3),':'); drawnow;
legend('training set','training-test set');xlabel('Epoche');ylabel('Errore');
echo off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -