Commit Graph

24 Commits

Author SHA1 Message Date
Andreas Mueller 9c51bc9547 MAINT remove _label attribute from SVC.
Fixes #1573.
2014-04-03 17:28:08 +02:00
Chen Liu c83c450421 fix numpy deprecationWarning('using a non-integer number ...') in svm 2014-01-25 11:21:30 -05:00
adrinjalali 2111e3e1ed svm fit numpy array indexing deprecation warning fix. 2014-01-24 15:38:49 +01:00
Vlad Niculae ed4c11b02f Clarify and make libsvm random seed more consistent 2013-07-27 19:50:26 +02:00
Vlad Niculae 89a58cdcad FIX support random state in libsvm 2013-07-27 19:50:25 +02:00
Lars Buitinck a115e91e10 COSMIT refactor LibSVM wrapper for safety and readability
* don't pass fit-time parameters to prediction functions
* do memory deallocation in a finally clause
* trim docstrings and comments

TODO:
* fit needs the finally clause as well
* sparse LibSVM should get the same treatment

(test_svc_clone_with_callable_kernel might fail sometimes. That appears
to be unrelated.)
2013-07-01 16:10:32 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Imran Haque 65bdff8402 ENH Release GIL when entering LibSVM/Liblinear code
Also fixed some of the exception messages.
2013-04-16 15:14:57 +02:00
Olivier Grisel 8cc7c96ad0 P3K: decode error message in svm wrapper 2013-01-18 18:40:51 +01:00
Lars Buitinck 37c1d092f8 COSMIT shut up the build by calling np.import_array in Cython modules
$(make in 2>&1 | wc -l) down from 706 to 517.

Took the liberty of modernizing some of the Cython code while I was at it.
2013-01-10 18:00:21 +01:00
Andreas Mueller dddad84fb6 ENH remove class_weight_label from python side of SVM 2013-01-03 13:21:51 +01:00
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 79ebf6c088 ENH added low-level bail out in sparse svm 2012-09-03 11:02:13 +02:00
Nicolas Pinto e003185fa9 ENH: add verbose option to LinearSVC 2012-04-12 16:27:02 -04:00
Andreas Mueller 3a5e1813b5 COSMIT renaming scikits.learn to sklearn in some places 2012-03-02 13:50:09 +01:00
Andreas Mueller cd161e277d COSMIT "Optional Parameters" Section removed 2011-12-22 21:09:15 +01:00
Andreas Mueller 355a51c557 FIX: Section Returns not Return 2011-12-22 19:34:33 +01:00
Andreas Mueller 0e9b7713a3 ENH parameter "epsilon" in SVR error messages is given correct name. 2011-11-05 22:38:47 +01:00
Fabian Pedregosa 56ff27ddcf FIX: fix variable referenced before assignement in libsvm.pyx 2011-09-04 08:42:43 +02:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00