The Million Color Revolution
Friday, May 4th, 2007Join the Million Color Revolution!
Join the Million Color Revolution!
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.
