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.
No comments:
Post a Comment