dlwh/breeze — pull request #2 by jasonbaldridge (2012-08-02 17:10:55+00:00)
Title: bin stuff and Csv example code for logistic classifier

From my email to the mailing list:

One thing I did was to train a basic logistic regression classifier for use with the prepositional phrase attachment dataset that I use as an assignment in some of my classes. In order to play with different aspects of Breeze, I did this as a little app that reads in example lines like the following:

verb=join,noun=board,prep=as,prep_obj=director,V
verb=is,noun=chairman,prep=of,prep_obj=N.V.,N
verb=named,noun=director,prep=of,prep_obj=conglomerate,N

and then handles the feature indexation for training and uses that index when applying the model to a set of evaluation examples. So, basically this allows me to use it as a drop in replacement for what I had used OpenNLP for in this homework:

http://ata-s12.utcompling.com/assignments/classification

I also added a little breeze executable in my fork that collects up all the necessary classpath info in order to run breeze main methods from the command line easily (and a bin/build that does the same thing as the sbt script in the main dir, but which avoids 'sbt' executable version ambiguities).