Tuesday, May 30, 2017

5/23 Post from the Future

I have been pretty bad at updating these posts as I am working, so here is a post from a week ago for 5/23.

For the week of 5/23, I got a few things accomplished. First of all I fixed the issue that I had the previous week of not getting the neural network to train properly. That took me awhile to figure out what I was doing incorrectly, it turns out that instead of '?' I needed the actual number to test against, who knew!

After I figured that out I was kind of tired of playing with the files in everything, so I started looking into the drawing aspect of the program that I want. Using the files that Sherri had given me, I was able to make a little bit of progress in figuring out what I need to do with that. I had not gotten to the part of the program where I would save off the data, that is yet to come.

5/16 Post from the Future

I have been pretty bad at updating the blog here, so this is a post about what I accomplished a few weeks ago.

For the week of 5/16, I started using the files Sherri had given me for the test data of number files.
I had an issue with the way I was formatting everything, which I figured out the over the course of the next week.


Wednesday, May 10, 2017

Summer Plan

Because of all the changes I had made with my project plan, I have received a bit of an extension on my project. This specific post is to lay out a plan that I will follow as closely as I can this summer in order to accomplish what I need to. I will be meeting every Tuesday around the Noon hour with Sherri, and going over my progress and making sure I am on track with what I am supposed to do.


Tuesday 5/16/2017

By this date I will have used the data Files that Sherri gave me and read through and test off of them. This will allow me to have a better understanding of how the neural network itself works. This will also help me to understand what all the file structure and use is like within Java.

Tuesday 5/23/2017

This day I want to build up the neural network using Sherri's data, and then rather than spit a report of how well the neural network tests, have it spit out what it thinks a character is from the file.

Tuesday 5/30/2017

On this day I want to have progress made on actually drawing out characters of my own and saving it to a file.

Tuesday 6/6/2017

By now I hope to have completed the project to the degree that I should have by the end of the semester. Using my own data that I have built up  in order to build and test from a neural network.

Monday, May 1, 2017

Weka Work

File Structure and Weka Use

Using Weka within Java seems to have been a grand idea. Currently I have it build off a neural net using data that I faked to represent entirely white and entirely black 50pixel x 50pixel data. Within Java I can write to a CVS file, and using the Weka libraries I can change it to an arff file, which is what it uses in order to capture and use all the data in a good format. From Weka as a program, here are the files that I have been using in my project path, and can manipulate them however I wish.



GUI Work


I have worked on the basic GUI layout that I want, and it is going rather well. The issue I have right now is drawing on the JFrame that I want to, and displaying things differently depending on what I am doing, training or testing. Currently I have it set to choose between either testing or training, and then having buttons to save clear and exit. I need to implement drawing on those specific frames, and once I get that done there is data work to do.

Data Work

The work I need to do with data once I get the drawing done should not be too difficult. It is merely writing to a file the pixel data and then what letter is represented, then converting that file back to the Weka arff format. Because of the way I have the data set up currently, it should not be much of an issue.

Looking forward

For now, what my main course of work is consists of getting to know the Weka libraries and API better, in order to understand how exactly they use and build up their Neural Net. In the future I may re-implement what they are doing in my own code, but we shall see in the future what I will do.