Monday, June 27, 2011

Couldn't find TUMS at the drug store...

Jun 27: Uncomfortable All Day D:

This morning I woke up early to accept a call scheduled for 6:45 from the Canada Japan Co-op people that never ended up coming. >_<  I had a nice chat with Mom and Jiuna after I gave up on waiting though, which made the early rise worth it.  I talked with them for about an hour before heading out to work.

The work itself today was quite good.  I discovered that my supervisor doesn't want me to implement the Naive Bayes classifiers that use Gaussians from the paper, which is kinda nice because I was really scratching my head at how one of them was supposed to classify anything...  Turns out it's not well suited to document classification, so it's a good thing it didn't make sense haha!  I had, unfortunately, wasted the morning puzzling out various bits of those two classifiers, so that's work down the drain.  Oh well.  However, the difficulty with today was that I was dealing with acid stomach all day which I assume is due to that damn baked good I had in Shinagawa station.  I am going to have to eschew all baked goods that are not things I am obviously able to eat like melon-pan or muffins, because one "calzone" (complete with scare quotes) successfully ruined my entire Monday pretty much.

I played handiball at lunch, and my serve is getting much more consistent.  I'm still kinda bad at non-serving handiball, but that's ok.  As long as I can sit at the back of the court and score points from afar I will be happy.  ;D  For lunch I had something called "Chuuka-don" which was like some kind of saucy stir fry type dealie over rice.  It was pretty good, but a little salty.

In the afternoon I completed my classifiers by adding a way for them to read the training data as well as adding some code to get them to classify a bunch of downloaded e-mails to see how well they performed.  As anyone who codes knows, most of the time when you "finish" writing your program, your real problems begin, and that was certainly the case today.  I was getting really, really low success rates with the models that were supposed to be better, and I saw that they were almost always guessing "ham" (the opposite of spam, I'm not making this up), even if the e-mail was like ENLARGE YOUR ONLINE CASINO PHARMACEUTICALS TODAY FREE!  >_<  I changed the amount of training data I was using though, which fixed that.  I was being too time-greedy and I liked having the test suite I could run really fast, but 100 documents wasn't enough to teach my classifiers that such words as the ones above were no-nos.

After increasing the training data size, however, I noticed that the rather underwhelming improvement (at least it was guessing both ham and spam) was due to the fact that it was unable take guesses a lot of the time due to the probabilities of ham or spam being "Not a Number".  erugghghghh...  Long story short, it turned out to be underflow leading to some lovely 0.0/0.0 action, which took me embarrassingly long to figure out, considering how many classroom hours have been devoted to such things in my degree so far. >_<  Oh well, that's what I get for implementing a classifier that uses feature selection while ignoring the feature selection part!  The good news is that once I fixed the underflow error (thank god Ruby has magical cheater number classes that allow arbitrary precision, or at least claim to), my classifiers all had 95+% success rates in their classifications.  I am going to do more testing tomorrow, but from today's results I'm feeling pretty good (famous last words).

I went home feeling pretty gross and made an unsuccessful stop at the drug store in search of TUMS or something like it.  I was thinking one of the boxes looked promising, with the right kinds of colour schemes and everything, but they turned out to be enemas.  >_<  Not exactly what I was looking for...  I again found the mysterious pack of medicine that has a picture of a guy holding his stomach, but I still have been unable to determine what it's supposed to do...

I had dorm supper of Hiyashi-chuuka (or would that be Hayashi-chuuka where I live!? Derp), which although nice and very nostalgic, is not necessarily the most pleasant meal to be greeted with when having acid stomach.  Oddly enough, as of the writing of this e-mail, my stomach has calmed down considerably.  >_>  I have no idea how that works.

I am going to be going to bed early early early tonight, as I have to go to a farewell party for the office tomorrow, and I have no idea how late it's supposed to go, or what's supposed to happen.  Plus, although I am feeling alright now, I have felt like crap all day (due to a mixture of acid stomach and getting up at 6:15 for no apparent reason apparently until like, 7:30), so I am very much looking forward to tomorrow, especially in the sense that it is not today. ;D

Good night!

No comments:

Post a Comment