Artificial Intelligence - هوش مصنوعی  
انجمن را در گوگل محبوب کنيد :

بازگشت   Artificial Intelligence - هوش مصنوعی > متفرقه > نرم افزار MATLAB


 
تبليغات سايت
Iranian Association for the Advancement of Artificial Intelligence
 
 
LinkBack ابزارهاي تاپيک نحوه نمايش
قديمي ۰۸-۱۷-۱۳۹۱, ۱۲:۳۹ بعد از ظهر   #4 (لینک دائم)
عضو فوق فعال
 
آواتار nazliii
 
تاريخ عضويت: مرداد ۱۳۹۱
پست ها: 72
تشكرها: 36
23 تشكر در 19 پست
پيش فرض

نقل قول:
نوشته اصلي بوسيله laughingrose1 نمايش پست
من با کدنویسی شبکه عصبی مو مدل کردم. حالا میخوام شکلشو از مطلب بگیرم یا اینکه رسم کنم.چه طوری میتونم اینکارو انجام بدم؟
با تشکر
مثلا اینطوری مینویسن

% show network
view(net)
figure;
plot(T','linewidth',2)
hold on
plot(Y','r--')
grid on
legend('Targets','Network response','location','best')
ylim([-1.25 1.25])
% generate a grid
span = -1:.01:2;
[P1,P2] = meshgrid(span,span);
pp = [P1( P2(]';

% simulate neural network on a grid
aa = net(pp);
aa = full(aa);

% plot classification regions
figure(1)
mesh(P1,P2,reshape(aa,length(span),length(span))-5);
colormap cool
view(2)

یا اینطوری

[net,Y,E] = adapt(net,p,p);

% view network structure
view(net)



% check final network parameters
disp('Weights and bias of the ADAPTIVE after adaptation')
net.IW{1}
net.b{1}
%Weights and bias of the ADAPTIVE after adaptation

%Plot results

% transform result vectors
Y = seq2con(Y); Y = Y{1};
E = seq2con(E); E = E{1};
% start a new figure
figure;

% first graph
subplot(211)
plot(t,y,'b', t,Y,'r--');
legend('Original','Prediction')
grid on
xlabel('Time [sec]');
ylabel('Target Signal');
ylim([-1.2 1.2])

% second graph
subplot(212)
plot(t,E,'g');
grid on
legend('Prediction error')
xlabel('Time [sec]');
ylabel('Error');
ylim([-1.2 1.2])
nazliii آفلاين است   پاسخ با نقل قول
از nazliii تشكر كرده است:
laughingrose1 (۰۸-۱۷-۱۳۹۱)
 



كاربران در حال ديدن تاپيک: 1 (0 عضو و 1 مهمان)
 

قوانين ارسال
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is فعال
شکلکها فعال است
كد [IMG] فعال است
كدهاي HTML غير فعال است
Trackbacks are فعال
Pingbacks are فعال
Refbacks are فعال




زمان محلي شما با تنظيم GMT +3.5 هم اکنون ۰۲:۱۲ قبل از ظهر ميباشد.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.

Teach and Learn at Hexib | Sponsored by www.Syavash.com and Product In Review

استفاده از مطالب انجمن در سایر سایت ها، تنها با ذکر انجمن هوش مصنوعي به عنوان منبع و لینک مستقیم به خود مطلب مجاز است

Inactive Reminders By Icora Web Design