Important alert: (current site time 7/15/2013 4:52:27 PM EDT)
 

winzip icon

[ Artificial Neural Net: Perceptron Using Perceptron Learning Rule ]

Email
Submitted on: 12/30/2004 3:06:17 PM
By: Gonzales Cenelia  
Level: Advanced
User Rating: By 7 Users
Compatibility: C++ (general)
Views: 35198
author picture
(About the author)
 
     This program features a complete Perceptron Neural Net Application. The perceptron is a program that learn concepts, i.e. it can learn to respond with True (1) or False (0) for inputs we present to it, by repeatedly "studying" examples presented to it. The Perceptron is a single layer neural network whose weights and biases could be trained to produce a correct target vector when presented with the corresponding input vector. The training technique used is called the perceptron learning rule. The perceptron generated great interest due to its ability to generalize from its training vectors and work with randomly distributed connections. Perceptrons are especially suited for simple problems in pattern classification. Please feel free to vote or to live some comments,it will be very appreciated!
 

INCLUDE files:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
//INCLUDE files for :[ Artificial Neural Net: Perceptron Using Perceptron Learning Rule ]
//**************************************
#include <cstdio>
#include <conio.h>
#include <windows.h>
#include <iostream>
#include <ctime>
using std::cout;
using std::endl;
using std::cin;
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 49 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

1/26/2005 3:11:46 PMGonzales Cenelia

votes or comments are very welcome!
(If this comment was disrespectful, please report it.)

 
10/2/2005 1:54:12 PMMark Gordon

Maybe I'm doing something wrong, but I'm getting lots of errors due to undeclared variables.
(If this comment was disrespectful, please report it.)

 
10/2/2005 5:49:36 PMGonzales Cenelia

yes,probably,because i have compiled this project with visual c++ 6.0 and there was no error or warnings,make sure that you have included all the files that are necessary to compile the project.
(If this comment was disrespectful, please report it.)

 
2/5/2007 10:10:58 AMcathy

i am not able to run the program in c++. it displays a lot of errors.kindly help me to run this project
(If this comment was disrespectful, please report it.)

 
2/5/2007 10:13:05 AMcathy

i am not able to run the program in c++. it displays a lot of errors.kindly help me to run this project.
(If this comment was disrespectful, please report it.)

 
1/18/2009 2:02:43 PMcile87

What is treshold in the ANN?
(If this comment was disrespectful, please report it.)

 
1/20/2009 9:46:55 AMGonzales Cenelia

well, check out this website: http://www.artificial-neural-networks.info/2008/05/perceptron-neural-network.html
(If this comment was disrespectful, please report it.)

 
5/4/2009 2:17:40 AMnguyen van trong

thanks!!!!!!!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.