Wednesday, April 12, 2017

Post 2 - Digging In

Change of Implementation

So, after digging into Neuroph a little more, I could not get it to build out a network the way that it is supposed to build them out. It would just hang after clicking the finish button, as shown below, even after letting it sit for close to eight hours.



Learning that, and having it hang the way it would, I started searching around for something else to use, and found a really nice introduction to neural nets online, with some example code. This can all be found here, and I will be looking at the code the author posted on GitHub, but not using it myself.

From what I have been looking at there, the author has test data built in to it, and files built up to read in and use the data. I will likely be using this in able to do back propagation on the neural network, and to build up and train the network.


Current Direction

With all of the above in mind, I have decided to implement everything myself rather than using a framework. I will be implementing this all in Python using the IntelliJ platform with Python plugins. Doing this as well also lets me host everything to GitHub, which it will be a private repository for the time being.

This semester, I will be recognizing a single character at a time, rather than whole words or anything such as that. The hope will be to write out a character with a mouse, or touch tablet that I will be using, and have the program return the character that is written. In the future I will probably be expanding this to read whole words or more if the project goes well.

Concerns

At the current time, I am not sure if I have to train the neural network every time I go to test and run the neural network. This could be annoying and a rather large hassle, especially considering there are thousands of test files to take into consideration, so I will be looking into ways to store the network once it is trained. I am thinking about building the network and using a file to store all of the weights and biases, but I am not sure.

No comments:

Post a Comment