Commit Graph

24 Commits

Author SHA1 Message Date
Andy d679e8d7eb ENH: in sgd classifier, check that parameter alpha is greater than zero 2011-11-24 09:44:12 +01:00
Peter Prettenhofer 87cf1b32dd fix: sgd module clone issue w/ rho parameter 2011-11-15 21:06:32 +01:00
Lars Buitinck 5df1a83fbf ENH don't require numeric class labels in SGDClassifier 2011-11-07 11:10:36 +01:00
Olivier Grisel 1e4e6012ac ENH: make it possible to pass class_weight='auto' as constructor param for SGDClassifier 2011-11-01 19:00:50 +01:00
Lars Buitinck 71d524396c FIX replace np.atleast_2d with new utils.array2d
atleast_2d will pass through np.matrix
2011-10-25 15:16:31 +02:00
Lars Buitinck 51d4310c6f COSMIT rename safe_asanyarray to safe_asarray to prevent confusion 2011-10-21 13:58:08 +02:00
Lars Buitinck 3bde2bf97b ENH accept matrix input throughout
Simple solution: replace np.asanyarray with np.asarray throughout.
Also, use utils.as_float_array where appropriate.
2011-10-21 13:51:12 +02:00
Satrajit Ghosh 1cf24e6c34 doc: fixed spelling 2011-10-03 21:01:01 -04:00
Satrajit Ghosh 9d688861b1 sty: ran make trailing-spaces 2011-10-03 20:51:06 -04:00
Peter Prettenhofer 1b7b031216 cosmit 2011-10-02 18:16:17 +02:00
Peter Prettenhofer 8a20cb97e7 unified predict for sparse and dense SGD. 2011-10-02 18:15:33 +02:00
Lars Buitinck d626e7cc6d FIX embarrassing SyntaxError in linear_model.base 2011-09-28 23:26:18 +02:00
Lars Buitinck d8c6e4720f ENH SGD error messages better still
Got bit again today when trying a predict_proba...
2011-09-28 17:37:54 +02:00
Lars Buitinck 6f84f45814 Merge pull request #357 from larsmans/overwrite-to-copy
rename overwrite_Foo params to copy_Foo (and inversed their meaning)
2011-09-26 06:08:25 -07:00
Lars Buitinck b6e691ac32 more helpful error message in SGDClassifier.predict_proba with wrong loss 2011-09-26 12:00:40 +02:00
Lars Buitinck 56d26f9fdd rename overwrite_Foo params to copy_Foo (and inversed their meaning) 2011-09-25 16:52:29 +02:00
Olivier Grisel 23fb617793 Merge pull request #353 from amueller/sgd_warm_starts
Sgd warm starts
2011-09-21 01:00:56 -07:00
Lars Buitinck a368a9163f unconditionally call as_float_array in LinearModel._center_data 2011-09-20 17:12:46 +02:00
Lars Buitinck 858b268ca2 refactor linear models to call as_float_array only from _center_data
coordinate_descent is the exception, since it plays tricks with
X is X_init that I don't fully understand yet.
2011-09-20 17:06:16 +02:00
andy d78bf25a60 letting intercept_init be of shape (), reshape to (1,) for consistency 2011-09-19 22:57:07 +02:00
Mathieu Blondel b93cde81bd Documenting a secret feature and fixing bugs in the process. 2011-09-06 19:12:00 +09: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