Random seed now picked in the range [0..UINT_MAX] instead of [0..1000].
Also changed the liblinear helper code to conform to C89 again, allowing
compilation with MSVC.
This commit adds support for a new libsvm parameter, which permits setting a
hard limit on the while loop in the svm.cpp file, in the Solver::Solve
function. Without this functionality, it has been observed that libsvm hangs
without converging in a reasonable time -- it can take days instead of
seconds, and perhaps it is in fact an infinite loop, I don't know. This
commit allows the user to set a hard limit on the number of libsvm iterations,
and modifies the libsvm bindings to raise a new exception of SolverTimeout
when this limit is reached.
Restore code to be slightly closer to upstream (still not possible to
run with the original library, though).
Comment out some more code that we don't use to reduce build time.
Liblinear bindings removed from LinearSVC and LogisticRegression
prediction code in favor of NumPy code.
* no more copying of X at predict time
* no more unchecked malloc at predict time
* -4000 lines of C code
* simpler handling of coef_ and intercept_
Also, support symbolic class names and classes_ on both estimators.