Commit Graph

29 Commits

Author SHA1 Message Date
MechCoder 80e22b3ddf Patch liblinear for sample_weights in LogisticRegression(and CV) 2015-10-23 00:00:31 -04:00
Fabian Pedregosa 7e1a0eee08 ENH LinearSVR using liblinear code
Fixes gh-3877.
2014-12-03 20:44:04 +01:00
MechCoder ad5773cfca TST: Added test to check ConvergenceWarning 2014-08-01 12:15:57 +02:00
MechCoder c8c72fd96e ENH: Return n_iter_ from liblinear and print convergence warnings 2014-08-01 12:15:57 +02:00
MechCoder 3edfa3cf17 Max iter param in Liblinear is now softcoded 2014-08-01 12:15:57 +02:00
Mathieu Blondel 4644209e23 BUG: FIX Crammer-Singer formulation in the binary case. 2013-08-01 22:14:19 +09:00
Joel Nothman 64e9290b99 REFACTOR combine train_wrap and csr_train_wrap
Fixes #1873.
2013-04-29 17:21:07 +02:00
Imran Haque 8ef17f786e Release GIL around sparse liblinear training 2013-04-24 15:46:04 -06: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
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02: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 7d11aaa28b ENH remove class_weight_label from LibLinear python side. 2013-01-03 13:21:51 +01:00
Lars Buitinck 8b6f28061d ENH allow more than 1000 linear SVMs with custom random seeds
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.
2012-10-27 22:55:53 +02:00
Andreas Mueller 00be697425 FIX seed liblinear using srand. Fixes issue #919. 2012-10-16 21:13:38 +01:00
Lars Buitinck 706319655a ENH refactor liblinear prediction code and add classes_ member
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.
2012-09-13 00:16:42 +02:00
Lars Buitinck 420a006361 COSMIT const and void* correctness in liblinear wrapper
Suppresses a few warnings during build.
2012-09-12 16:00:55 +02:00
Lars Buitinck ea2bacd91c ENH import liblinear 1.91
* Reapplied the sklearn-specific changes
* Put a slightly larger part of the upstream code in #if 0
2012-05-25 14:42:48 +02:00
Nicolas Pinto f172c7ef09 MISC: verbose should be int, not bool 2012-04-12 21:05:14 -04: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 e786ac53cc Merge branch 'master' into svm_coef_sign
Conflicts:
	sklearn/svm/base.py
	sklearn/svm/liblinear.c
	sklearn/svm/sparse/base.py
2012-01-28 14:35:30 +01:00
Lars Buitinck 278fe52ba2 COSMIT refactor liblinear bindings
Move knowledge of the CSR matrix format down the chain.
2012-01-16 23:34:03 +01:00
Andreas Mueller 5427f81c66 ENH liblinear: get rid of n_class sign by switching class signs in liblinar implementation. 2012-01-09 23:23:22 +01:00
Andreas Mueller d0d595d3f4 ENH liblinear: cythonized sign switch for n_class<=2 2012-01-09 21:32:11 +01:00
Andreas Mueller 0ebf87bd2f FIX backtics for members_, spaces around colon (not cologne) 2011-12-23 20:47:52 +01:00
Olivier Grisel 091d92ac1b batch re-cythonization with version 0.15 and new package names 2011-09-03 13:28:32 +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