Posts

Showing posts with the label Example

Arduino Disco Ball Cake

Image
  Description This is a fun project that will surely impress anyone you make this for. If you are having a "Disco" themed party, you cannot have a boring old cake. Let me tell you, this is probably the only Arduino project that my wife has ever been willing to be a part of. She did the hard work of putting the cake together, and I, well.... I was in charge of lighting. My biggest fear was that one of the wires would come loose and ruin the event at the most critical moment... While a wire did come loose, I managed to fix it in time before the guests arrived. Ok enough of my monologue, let me show you how to make one of these things.   Parts Required: Arduino UNO (or compatible board) 4 x WS2812-B Programmable Colorful LED Board 330 ohm resistor 4700 uF 16V Electrolytic Capacitor Breadboar...

Neural Network (Part 7) : Cut and Paste Code

Image
Ok - so you don't like tutorials, and would rather just cut and paste some code. This is for you. http://www.openprocessing.org/visuals/?visualID=33991 Make sure to select "Source code" when you get there, otherwise it will be quite boring. Here is an animated gif which shows the program in action. See BELOW for the WHOLE screenshot so that you don't have to speed read. If you want to know how it works, then you will have to go back and read part 1 to 6. Neural Network Part 1 : The Connection class   Part 2 : The Neuron class   Part 3 : The Layer class Part 4 : The Neural Network class Part 5:  Back Propagation - the process Part 6 : Back Propagation (A complete walk through) But as you can see from the example above: Before the neural network is trained, the outputs are not even close to the expected outputs. After training, the neural network produces the desired results (or very close to it). Please note, this neural network also allows more than one ...