Day 18
When I began today, I had all of my writing so far done, which meant I did not have anything on which to work while my classifier experiment code ran, so Ron introduced me to my next experiment, which is evaluating postprocessing methods. I started by documenting the already-written code for the postprocessors, which were a Markov Random Field (MRF) and a Conditional Random Field (CRF). It remains a challenge for me to document code written by others. I usually document code that I write when I am writing it so that I do not have to go back to it and try to figure out what it does. After I finished documenting the two postprocessors, I began writing the code for my postprocessor experiment, but I will likely have to alter it later because I do not yet know which classifier is the most accurate, because my classifier experiment is not over yet. For now I have the postprocessing code use the SVM-RBF classifier, which is the best one so far. Finally my trials on the MLP classifier with the MinMaxScaler preprocessor finished running. The MLP gave me a lot of problems, so I was glad to see that the results were finally reasonable. However, I still had to test the MLP with the StandardScaler preprocessor to see which way is better. I ran this test, and the results were nearly identical to the MinMaxScaler results. I will have to figure out which I should use tomorrow. It took all day for these two MLP tests to run, which is another reason the MLP classifier annoys me. Fortunately, more than one program can be run at a time in Spyder, the Python environment I use. (I found that out today.) Knowing that, I had begun to run parameter tests for the Random Forest classifier. First, I had to edit the Random Forest code, which was cool because I have just been documenting and testing the classifier code, not writing it until now. I added a way to choose whether the classifier refits the data, as it had just done it automatically before and I needed it to not refit the data. In the experiment, I had to figure out which preprocessor and which number of trees are the best for Random Forest. ("Trees" are a kind of decision tree used by Random Forest.) I had a lot of results for this by the end of the day, but I will decide if I need more tomorrow.
Comments
Post a Comment