Commit Graph

7 Commits

Author SHA1 Message Date
James Bergstra 5d6540d054 ENH: renaming iter_limit -> max_iter 2012-10-16 16:13:00 +02:00
James Bergstra fb48f29429 ENH: Solver iter_limit emits warning instead of raising exception 2012-10-16 16:13:00 +02:00
James Bergstra 812376955a ENH: adding iter_limit to libsvm
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.
2012-10-16 16:13:00 +02:00
Andreas Mueller a6a8771e0c MISC use assert instead of value error. 2012-09-03 11:02:14 +02:00
Andreas Mueller 79ebf6c088 ENH added low-level bail out in sparse svm 2012-09-03 11:02:13 +02:00
Andreas Mueller 3a5e1813b5 COSMIT renaming scikits.learn to sklearn in some places 2012-03-02 13:50:09 +01:00
Lars Buitinck bc6255e8e7 ENH merge sparse and dense SVMs, part 1
* enable sparse matrix support in formerly dense versions
* remove DenseBaseLibSVM
* move sparse.libsvm to libsvm_sparse
2012-01-27 17:41:22 +01:00