Archive for May, 2007

The Million Color Revolution

Friday, May 4th, 2007

Join the Million Color Revolution!

The Million Color Revolution Video

Binary Decision Tree

Thursday, May 3rd, 2007

I created a binary decision tree program that constructs the smallest possible (I think) decision tree given a set of examples. This was for Tino’s class again.

There are two caveats. First, there are no command line options. So the program only reads in the file “input.txt” in certain format specified by FileFormatPolicy.java. Second, the generated tree may not be minimal.

This program has awesome domain-driven design. I reused old ugly code for drawing the tree, but the rest is brand shiny new.

Design Image