Week 8: Trying a New Technique

Apr 11, 2019

During Week 8, I met with my external advisor to review the progress I had made during the last week. While I was getting decent results using my previous technique, my advisor told me to use the n-fold cross validation technique to test and train my data. Using this technique, I can test every single data set I have to see which type of sports article is the most accurate and I can use this data to make my program more precise. With this technique, I got a 50%-60%  accuracy, which is not that bad. I did this multiple times using my data and got similar results. However, when I tried testing it with my new data, which is 1600 articles, I got a java.lang.OutOfMemoryError: Java heap space error. This meant that I had to figure out another way of running my code, like through my terminal.

Also, I made some adjustments to my evaluateAccuracy() method which allowed it to display the averages of all the sports’ accuracies.

Next week, I will be testing out my program and trying to solve the java.lang.OutOfMemoryError: Java heap space error.

Thanks for reading!

Leave a Reply

Your email address will not be published. Required fields are marked *