Commit Graph

15 Commits

Author SHA1 Message Date
trevorstephens ee7887970e add class_weight to PA cls, remove from PA reg
rebase on top of #4347

improve error message

update error msg
2015-06-06 08:57:17 -07:00
Raghav R V cd2ee7e454 MAINT docstring --> comments to prevent nose from using doc in verbose mode 2015-03-21 11:16:49 +05:30
Andreas Mueller deeaf0ad35 change default to shuffle=True in SGDClassifier and friends. 2015-03-03 11:56:23 -05:00
Raghav R V 88555987cc PEP8 Fix E101, E111 errors and W191, W293, W293 and W391 warnings. 2015-01-08 04:28:24 +05:30
Lars Buitinck f95dfe7763 BUG SGDClassifier and friends did not forget labels_ in re-fit
Fixes #1703.
2013-03-15 12:37:16 +01:00
Lars Buitinck 541987802f P3K range vs. xrange 2013-02-14 02:05:35 +01:00
Mathieu Blondel 116b54a8c8 Fix bug in sqnorm (used by PassiveAggressive).
The function was using the wrong data indices T_T.
2012-11-24 23:05:52 +09:00
Andreas Mueller 92138a4258 COSMIT pep8 2012-11-10 14:02:29 +00:00
Mathieu Blondel 34037306ab Remove transform from PassiveAggressive*.
It really only makes sense if the estimator supports L1-penalty.
2012-11-08 15:21:19 +09:00
Mathieu Blondel a3670c0fb4 Remove predict_proba from Perceptron and PassiveAggressiveClassifier.
Fixes #1336.
2012-11-07 14:18:34 +09:00
Mathieu Blondel 27be154754 Add tests for partial fit. 2012-11-06 01:07:44 +09:00
Mathieu Blondel da98830f7a Add one more test for PassiveAggressiveRegressor. 2012-11-05 22:26:42 +09:00
Mathieu Blondel 0dcb61fc39 Test PA-II (regression). 2012-11-05 21:17:04 +09:00
Mathieu Blondel 8b73f406b9 Implement and test PA-II. 2012-11-05 20:13:20 +09:00
Mathieu Blondel 65b035ff78 Fix many bugs and test PA-I. 2012-11-05 18:01:35 +09:00