Commit Graph

144 Commits

Author SHA1 Message Date
Joel Nothman 9a8845e913 ENH Create FeatureSelectionMixin for shared [inverse_]transform code
Also rename FeatureSelectionMixin -> SelectorMixin -> _LearntSelectorMixin
And rename sklearn.feature_selection.{selector_mixin -> from_model}
2013-05-21 13:53:12 +10:00
Jaques Grobler 2ffb484adb COSMIT pep8 2013-05-04 10:43:39 +02:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Dougal Sutherland 0f00baff36 stochastic_gradient: describe all losses, fix epsilon description 2013-04-25 11:40:23 -04:00
Dougal Sutherland 29b10e85ef stochastic_gradient: fix mistake in _init_t docstring 2013-04-25 11:16:04 -04:00
Mikhail Korobov eae18a3784 PY3 fix metaclasses. See #1829. 2013-04-04 01:07:20 +06:00
Andreas Mueller a1d4d184fe COSMIT pep8 2013-04-02 13:30:55 +02:00
Lars Buitinck 01801886b2 ENH multiclass probability estimates for SGDClassifier
Fixes #1814.
2013-03-30 12:33:33 +01:00
Sergey Karayev 9b660380ff removing accidental space 2013-03-21 03:10:52 -07:00
Sergey Karayev 154007b0ac fixing bug in linear_model.SGDClassifier for multi-class warm start 2013-03-21 03:03:38 -07:00
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 29ed168831 BUG fix compute_class_weights issue in SGD
Fixes #1749.
2013-03-08 17:33:08 +01:00
Lars Buitinck 6bf4c90c5d ENH sparsify method for L1-reg linear models
Currently implemented on LinearSVC, LR and SGD.
2013-02-23 12:11:56 +01:00
Olivier Grisel 1967a0b323 P3K use six to have a python 2 & 3 compatible code base 2013-02-09 18:08:44 +01:00
Lars Buitinck 58723f6ad6 BUG one more failing doctest
Must... not... forget... to... test
2013-01-22 22:42:12 +01:00
Lars Buitinck 07c56d7cd2 COSMIT rm deprecated stuff
One more deprecated feature to go in FastICA; not sure how to handle
that one.
2013-01-22 19:45:27 +01:00
Andreas Mueller 68bfc9024d ENH don't return deprecated parameters by get_params. 2013-01-19 17:16:43 +01:00
Andreas Mueller 5e0dd46047 COSMIT typo thanks @jaquesgrobler 2013-01-19 16:44:09 +01:00
Andreas Mueller 6f3d7aa3d5 FIX in Perceptron and doctest 2013-01-19 16:44:09 +01:00
Andreas Mueller 7fb10b9be5 COMP more careful deprecation of seed in SGDClassifier 2013-01-19 16:44:09 +01:00
Peter Prettenhofer 68fd7a3646 fix: docstring for power_t in SGDClassifier was not correct (0.25 instead of 0.5) 2013-01-10 17:18:59 +01:00
Andreas Mueller 11cdef7e6d ENH common test that set_params returns self. 2013-01-09 09:27:53 +01:00
Andreas Mueller 127c44b730 ENH refactoring class weights for SVM and SGD 2013-01-03 13:21:50 +01:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01: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 326426826c Better documentation for epsilon in SGD. 2012-11-06 16:11:34 +09:00
Mathieu Blondel e9dde4960b Fix a few test failures. 2012-11-05 22:19:08 +09:00
Mathieu Blondel d38c0d2fee Fix random_state in SGD. 2012-11-05 21:34:46 +09:00
Mathieu Blondel 97f594a935 Add squared epsilon insensitive loss. 2012-11-05 21:15:51 +09:00
Mathieu Blondel 5a313ba622 Add SquaredHingeLoss. 2012-11-05 20:43:41 +09:00
Mathieu Blondel 8b73f406b9 Implement and test PA-II. 2012-11-05 20:13:20 +09:00
Mathieu Blondel 1589d5441c Do not expose C in SGDClassifier / Regressor. 2012-11-05 19:48:48 +09:00
Mathieu Blondel 25284b9cf1 Merge branch 'sgd_learners' of https://github.com/zaxtax/scikit-learn into passive_aggressive 2012-11-05 16:24:42 +09:00
Rob Zinkov f67e0d2f1e Fixed docstrings and seed tests 2012-11-02 09:52:05 -07:00
Lars Buitinck 77b4670b6a COSMIT use np.clip in SGD 2012-10-29 00:47:00 +01:00
Rob Zinkov 76972db507 Added documentation for new classifier and changed seed to random_state 2012-10-25 06:18:34 -07:00
Rob Zinkov 8f22486d1b Split out PassiveAggressive Classifier into its own object 2012-10-24 07:55:51 -07:00
Rob Zinkov dfe33d0c49 PEP8 COSMIT 2012-10-21 14:36:02 -07:00
Rob Zinkov e9ebfeb8c3 Added documentation and removed PA 2012-10-21 05:31:36 -07:00
Rob Zinkov ba529573f9 Added documentation to stochastic_gradient 2012-10-21 03:34:32 -07:00
Lars Buitinck 53b220358c COSMIT correct error msgs in SGD and make them more consistent 2012-10-14 12:09:59 +02:00
Lars Buitinck 97ed66151a BUG + DOC l1_ratio in SGD and CD
SGD{Classifier,Regressor} treated l1_ratio as previously rho. Docstrings
stated that l1_ratio must be >0, which means pure L2 regularization would
not be possible.
2012-10-14 11:43:26 +02:00
Andreas Mueller 72e71bb439 ENH address @agramfort's comments, fix some doctests 2012-10-11 20:56:03 +01:00
Andreas Mueller b39609af4e ENH rename rho in SGD 2012-10-11 20:56:03 +01:00
Gael Varoquaux 55ef1d617a DOC: protect `classes_` for valid rst 2012-10-07 16:39:40 +02:00
Lars Buitinck 77e69edcec COSMIT rm deprecated stuff -- lots of it 2012-09-20 21:40:33 +02:00
Andreas Mueller 1313f25cda COSMIT pep8 2012-09-20 14:49:14 +01:00
Lars Buitinck dc943722de COSMIT refactor linear classifiers
Factored out the common code to LinearSVC, LogisticRegression, Perceptron
and SGDClassifier into a LinearClassifierMixin.
2012-09-17 21:06:36 +02:00