These files are refactorred based on my solution to Quora ML Challenge. I try to keep things clean while keep as close as possible to my original solution.
My rank in the week-long contest with the hidden test set is 6.
There's a Chinese blog post explaining my solution.