Commit Graph

17 Commits

Author SHA1 Message Date
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