A classifier is a machine learning tool that will take data items and place them into one of k classes. A probabilistic classifier, like this one, can also give a probability distribution over the class assignment for a data item. This software is a Java implementation of a maximum entropy classifier. Maximum entropy models are otherwise known as softmax classifiers and are essentially equivalent to multiclass logistic regression models (though parameterized slightly differently, in a way that is advantageous with sparse explanatory feature vectors). In other words, this is the same basic technology that you're usually getting in various of the cloud-based machine learning APIs (Amazon, Google, ...) The classification method is described in:
Christopher Manning and Dan Klein. 2003. Optimization, Maxent Models, and Conditional Estimation without Magic. Tutorial at HLT-NAACL 2003 and ACL 2003. [pdf slides] [pdf handouts]
Version 2 of the classifier was developed by Anna Rafferty, Alex Kleeman, Jenny Finkel, and Christopher Manning.
The software requires requires Java (now Java 8). As well as API
access, the program includes an easy-to-use
building models. Its features are especially suited to building
models over text data, but it also supports numeric variables.
Licensing. The Stanford Classifier is available for download, licensed under the GNU General Public License (v2 or later). Source is included. The Stanford Classifier code is dual licensed (in a similar manner to MySQL, etc.). Open source licensing is under the full GPL, which allows many free uses. For distributors of proprietary software, commercial licensing is available. If you don't need a commercial license, but would like to support maintenance of these tools, we welcome gift funding.
The download is a 9.6 MB zipped file. If you unpack that file,
you should have everything needed, including example files and documentation.
Start by reading the
Send any questions or feedback to
|3.8.0||2017-06-09||Updated for compatibility|
|3.7.0||2016-10-31||Update for compatibility|
|3.6.0||2015-12-09||Updated for compatibility|
|3.5.2||2015-04-20||Updated for compatibility|
|3.5.1||2015-01-29||New input / output format options; support for GloVe word vector features|
|3.5.0||2014-10-26||Upgrade to Java 8|
|3.4.1||2014-08-27||Updated for compatibility with other Stanford releases|
|3.4||2014-06-16||Updated for compatibility with other Stanford releases|
|3.3.0||2013-11-12||Updated for compatibility with other Stanford releases|
|3.2.0||2013-06-20||Updated for compatibility with other Stanford releases|
|2.1.8||2013-04-04||Updated for compatibility with other Stanford releases|
|2.1.7||2012-11-11||Pair of word features added|
|2.1.6||2012-07-09||Minor bug fixes|
|2.1.5||2012-05-22||Updated for compatibility with other Stanford releases|
|2.1.4||2012-03-09||Bugfix for svmlight format|
|2.1.3||2011-12-22||Updated for compatibility with other Stanford releases|
|2.1.2||2011-09-14||Change ColumnDataClassifier to be an object with API rather than static methods; ColumnDataClassifier thread safe|
|2.1.1||2011-06-19||Updated for compatibility with other Stanford releases|
|2.1||2011-05-15||Updated with more documentation|
|2.0||2007-08-15||New command line interface, substantial increase in options and features (updated on 2007-09-28 with a bug fix)|