Upcoming SlideShare
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Standard text messaging rates apply

# Contoh Program Jaringan Syaraf Tiruan Sederhana

5,282

Published on

Contoh Program Jaringan Syaraf Tiruan Sederhana

Contoh Program Jaringan Syaraf Tiruan Sederhana

Published in: Engineering
2 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total Views
5,282
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
227
0
Likes
2
Embeds 0
No embeds

No notes for slide

### Transcript

• 1. CONTOH PROGRAM JST SEDERHANA Sherly Christina, S.Kom., M.Kom
• 2. ANALOGI JST TERHADAP JARINGAN SYARAF JST Jaringan Syaraf Biologis Node atau Unit Badan Sel (soma) Input Dendrit Output Akson Bobot Sinapsis
• 3. CARA KERJA JARINGAN SYARAF  Pemrosesan informasi terjadi pada neuron  Sinyal dikirimkan diantara neuron-neuron melalui penghubung dendrit dan akson  Penghubung antar elemen memiliki bobot yang akan menambah atau mengurangi sinyal.
• 4. CARA KERJA JARINGAN SYARAF  Untuk menentukan output, setiap neuron memiliki fungsi aktivasi yang akan dikenakan pada jumlah semua input-nya.  Besar output akan dibandingkan dengan nilai threshold tertentu
• 5. CONTOH 1 Operasi AND X1 X2 Y 1 1 1 1 0 0 0 1 0 0 0 0
• 6. CONTOH 1 PROGRAM PADA C++ 1. #include<iostream.h> 2. main() 3. { 4. int w1,w2,x1,x2,Output; 5. w1=1 ; w2=1; 6. cout<<“inputan X1= “; 7. cin>>x1; 8. cout<<“inputan X2= “; 9. cin<<x2; 10. Output=(x1*w1)+(x2*w2); 11. if(Output>=2) 12. cout<<“Output (Y) AND=1 “<<endl; 13. else 14. cout<<“Output (Y) AND=0 “<<endl; 15. }
• 7. CONTOH 2 Operasi OR X1 X2 Y 1 1 1 1 0 1 0 1 1 0 0 0
• 8. CONTOH 2 PROGRAM PADA C++ 1. #include<iostream.h> 2. main() 3. { 4. int w1,w2,x1,x2,Output; 5. w1=1 ; w2=1; 6. cout<<“inputan X1= “; 7. cin>>x1; 8. cout<<“inputan X2= “; 9. cin<<x2; 10. Output=(x1*w1)+(x2*w2); 11. if(Output>=2) 12. cout<<“Output (Y) OR=1 “<<endl; 13. else 14. cout<<“Output (Y) OR=0 “<<endl; 15. }