Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Perceptron Code (Neural Net)

Sign in to follow this  


Here is a Perceptron Class I made in C#. The Form code has the example on how to use it. The output goes to a text file in the Debug directory showing you the errors for each iteration. It's not a complicated example so you won't get that much error. If you run it a couple times you might see an error quickly go to 0. (If you missed or lucked out, there is an entry in my journal on the Perceptron Neural Net). Anyway, you must sign here:


And agree to pay me a one time fee of 0.000001 US dollars to use it. Please use a permanent magic marker (or don't if you don't want to mess up your monitor).
Sign in to follow this  


Recommended Comments

I taught a Perceptron how to light fireworks once. Forgot to teach it that fireworks would blow you up if you didn't back away. Stupid Perceptron.

Share this comment

Link to comment
Continuing from old thread...

Ah yes the statement made in the margin, I was unsure if that was what you meant. But Andre Wiles in his book on the history of number theory states that "Fortunately, just for once he had found room for this mystery in the margin of the very last proposition of Diophantus; this is how it goes." He [Fermat] then goes on to use his proof by descent by working from a right triangle whose sides are "assured mutually prime", with certain restrictions being made on the number for the lengths. Factoring and working and using his three square methods he proves the case for n = 4.

Which makes me wonder: brilliant minds like Kronecker, Gauss, Krummer, Cauchy, Germain and Euler could not solve this problem after pitting their might on it, yet alone Fermat could? Perhaps Fermat only meant hat he has shown how for n = 4 the number is triangular? Maybe he assumed his method of proof by descent would work indefinately, perhaps he had too much confidence in it and did not forsee the complications and complexities ahead? Although I feel that he had something in mind I cannot help but also note that he was a lawyer...

Share this comment

Link to comment
Yeah, since so many great mathematicians were stumped on this problem for so long (Lindemann as well, who proved Pi was trancendental, offered many proofs that were wrong), it makes everyone believe that Fermat possibly was mistaken. But you and I know that sometimes it takes just a little luck to find the right thinking. I just happen to believe him that's all. LOL, about the lawyer, well you have to do something to eat I suppose.

Mushi, perceptrons are only as smart as their master hehehe...

Share this comment

Link to comment
aite, nothing but good can come from it anyway, at worst you'll just end up inventing some new mathematics [smile]

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!