Predicting Which Hiragana Character You're Drawing
I tried to take a shot @ the problem shown above. Turns out just high-school level math is sufficient to make a decent classifier for this. In the Japanese alphabet(s), a character is composed of...
View ArticleCode Pornography
The one-liner you see below is the Haskell erotica for the month: twoK=1:(map (2*) twoK) That line will generate an infinite list containing even numbers. I can look @ that line all day and wonder at...
View ArticleListener Updates
Chris helped me flesh out a couple of bugs with my VAD implementation (the Spectral Flatness Measure was computer incorrectly). Thanks a bunch. You can get the latest build here
View ArticleEn-route To Thinking Straight
I am not a fan of a large chunk of my childhood. I took things way too seriously. I cried over grades, got depressed about losing notebooks and overall, just cried. I then raised a stupid stink about...
View Articledateutil problems.
Recently I had to deal with dateutil's parser. Apparently it is very powerful and lots of people masturbate to it and I managed to bring it to its heels with this: >>> dparser.parse("P 16:08...
View ArticleRacket Bloom Filter
I recently had to implement language-identification for some experiments with Clueweb-12++. I am not a racket expert and this code is possibly very stupid but it was mainly a learning exercise. I need...
View ArticleRacket Oauth
I have been trying to use Racket for my research (when I can that is) and recently I had to use Yahoo!'s BOSS API for some work. I couldn't find an oauth library for Racket so I had to roll one out...
View ArticleBayes Nets + MRFs
We are supposed to do these for class. Figured this is a reasonable place to put them after I submit them for grading (i.e. these are mostly for review and use them as a reading material at your own...
View ArticleInstalling Boost.MPI with a Custom Python and a Custom GCC
I was recently chasing a KDD deadline (I still am - so why am I writing this post? I don't know) and was using Boost.MPI's Python bindings for some computation. At CMU, there's a cluster on which I use...
View ArticleRacket TinyWM
I have been trying to make a Lisp my go-to language for small projects. Racket is a fantastic language and used by many people who are a lot smarter than I am. I have been meaning to learn the Racket...
View Article