• entries
74
187
• views
34309

# Perceptron Code (Neural Net)

162 views

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).

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.

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...

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...

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

## Create an account

Register a new account