lynaghk / clj-liblinear

A Clojure wrapper for LIBLINEAR, a linear support vector machine library
http://keminglabs.com/clj-liblinear/
Eclipse Public License 1.0
28 stars 9 forks source link

move to version 1.94 of liblinear-java ? #7

Closed daslu closed 10 years ago

daslu commented 10 years ago

The current latest version of liblinear-java is 1.94.

In addition adding some tests, error handling, etc., one important change from 1.92 seems to be this (in the method groupClasses of the class Linear): // Labels are ordered by their first occurrence in the training set. // However, for two-class sets with -1/+1 labels and -1 appears first, // we swap labels to ensure that internally the binary SVM has positive data corresponding to the +1 instances.

This seems like a desirable change, which can avoid some common user confusion and bugs.

So clj-liblinear might want to change its dependency to: [de.bwaldvogel/liblinear "1.94"] .