Data Mining Techniques to Predict Survival of Metastatic Breast Cancer Patients

Last quarter for my Advanced AI class, I performed some machine learning experiments on the Surveillance Epidemiology and End Results (SEER) database.  It was my first in-depth study using machine learning and I was particularly primed for the topic having just read The Signal and the Noise by Nate Silver.  While Nate does not specifically address machine learning, he is a clear supporter of Bayesian-based statistics, so the topic was apropos.

My biggest takeaway was perhaps that applying the complex machine-learning algorithm is the easy part thanks to established software libraries and toolkits.  Preparing the data for analysis and understanding the results are the most time consuming and complicated aspects of the task.  I worked closely with an oncologist, who did most of the heavy-lifting with the clinical analysis. Continue reading

oh-my-zsh and fun with fonts

After viewing this slideshare on the Z shell (zsh), I decided to give it a spin.  As recommended in the presentation, I went ahead and setup oh-my-zsh as well.  At first, it was a bit awkward moving around, I mean the cd completions happen under the prompt!  But then I cd‘d to a git directory and I don’t think I’m switching back.  The git plugin has really nice command completion and the prompt itself shows the branch name. Continue reading

Cross-compiling Python 3.3.1 for Beaglebone (arm-angstrom)

I think I became a little too crazy over cross compiling.  For reasons now unknown to me, I decided that I wanted Python 3 on my Beaglebone.  Having just learned how to cross-compile, I was perhaps a bit ambitious.  In the end, I believe I cross-compiled successfully, but I have issues actually running Python 3 on the BB (perhaps due to PYTHONPATH issues?).  Anyway, I’m a bit overloaded with other projects at the moment so I don’t think I can see this through.  But I figured I’d write a post showing at least how to compile. Continue reading

Cross-compiling applications for the Beaglebone

Yesterday I blogged about building Emacs on the Beaglebone. While this is great Sunday night fun, it’s not the most efficient way to compile applications for this device. The original Beaglebone has a 720 MHz processor and 256MB of RAM. My desktop has a 2.8GHz processer and 12GB of RAM. The turtle does not beat the hare in this race. It would be nice if I can compile an application on my desktop and send the compiled binary to the Beaglebone to run. Well, welcome to cross-compiling! Continue reading

Emacs on the Beaglebone

I’ve been playing around with my BeagleBone (BB) lately and it’s felt a bit, incomplete. It’s not because it has a faster and cheaper brother out there now either (BeagleBone Black (BBB)). It’s because it didn’t have Emacs installed! :)

emacs_on_all_the_things

Unfortunately, Emacs is not even in the Angstrom package browser. I did find a post which claimed at one point it was listed, but alas, no more. So, to the source we go. Continue reading

BeagleBone usb console driver Mac OS X

I’m now the proud owner of a BeagleBone (purchased from Adafruit)!  There will be more details in the coming posts, but first I want to make sure I let people know about this issue.

BeagleBone rev A6

If you have a 64 bit Mac and you want to connect over /dev/tty.usb to the BB, you need to install the 64 bit FTDI driver: here.  As of this post, it was version 2.218 for Mac OS X, 64 bit.  Then you should be able to access the serial console as discussed in the README.

Unfortunately, I just got this as the new BeagleBone Black was announced yesterday.  If I mysteriously fry this BB I guess I won’t be too upset when I have to get the BB Black… Continue reading

My first live-blogging event: truck explosion

Sitting in my NY apartment, I suddenly hear a loud BOOM on the Queensboro bridge.  I ran to the window and I couldn’t see what happened but I did see all Queens traffic stopped, some people running and cars trying to back-out off the bridge.

The air quickly smelt of smoke and while something still didn’t feel right, there was no screaming or any other loud noises, so I started tweeting :)

Continue reading