Neural networks : Introduction : Programming (6 of 7)

The first method in the implementation part is the one that makes the program interactive. It is undoubtedly the biggest method in the code, and is almost as big as all the neurons functions. Most of the code is self-explanatory, so it will not be discussed here, just briefly checkBoxClick updates the input array x so it contains the correct digits according to the checkboxes. Thereafter it updates both the digits label and the neuron. Due to it's size the source-code isn't included on the web, you can look at the downloaded source-code instead.

The updateBin method makes the digits label show the current neuron input. No further explanation necessary here. Neither in the two following functions, as they are already explained earlier. Only that they take double as parameters.

Previous Next