News for hackers. Stuff that matters.
Re:Decision tree learner will predict whether you prefer cat... by bockris on Wednesday December 07, 2011 @02:50PM (#3325579)
Nice!

How big is the pool of variables it can choose from?

Any insight on why it choose 'region' and 'browserHeight' first?

Re:Decision tree learner will predict whether you prefer cat... by sllrpr on Wednesday December 07, 2011 @03:06PM (#3325671)
Ugh, I thought I'd answered this but looks like HN lost my response :-(

> How big is the pool of variables it can choose from?

Currently it is just: screenWidth/Height, browserWidth/Height, browser, browserVersion, os, referrer, city, region, country.

It picks the variables based on how well they partition the datasets into diverse sub-groups. This is the code that does that job:

https://github.com/sanity/quickdt/blob/master/src/main/java/...