Commit Graph

240 Commits

Author SHA1 Message Date
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Andrew Lamb 176427e284 Fix SGD partial_fit multiclass w/ average.
See https://github.com/scikit-learn/scikit-learn/issues/5246#issuecomment-140062688.

`_fit_multiclass` was setting `self.intercept_` to a single element of the intercept, instead of the entire intercept.
2015-10-07 11:39:57 +02:00
Alexandre Gramfort e7c50de502 misc + pep8 2015-10-04 16:27:12 +02:00
Rohan Ramanath f8486a5b25 fixes scikit-learn/scikit-learn#5329 2015-10-01 21:42:27 -07:00
TomDLT 94eb61960a ENH add sag solver in LogisticRegression and Ridge 2015-09-10 13:28:02 -04:00
Joel Nothman 87aaabc06a DOC backticks in attribute docstrings unnecessaru since #3489 2015-06-12 05:13:02 +10:00
Andreas Mueller 3be9b9762b Fix deprecation of decision function in SGD 2015-06-04 16:50:56 -04:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller eedc1cddab Use more natural class_weight="auto" heuristic 2015-06-01 12:49:53 -04:00
TomDLT 89c1018c64 ENH improve check_array
ENH improve check_array to warn on dtype conversions

ENH make check_array accept several dtypes

ENH change validation with improved check_array

ENH change astype to avoid copy if possible

ENH remove warn_if_not_float
2015-05-19 16:13:42 +02:00
Andreas Mueller d89c215013 Add tags to classifiers and regressors to identify them as such. 2015-03-31 19:59:49 -04:00
Andreas Mueller 6beacc3fb6 remove deprecated stuff from 0.17 2015-03-18 14:49:04 -04:00
Andreas Mueller e01a16dbd1 Merge pull request #4325 from amueller/more_minor_doc_fixes
[MRG+1] More minor doc fixes
2015-03-03 13:47:16 -06:00
Andreas Mueller deeaf0ad35 change default to shuffle=True in SGDClassifier and friends. 2015-03-03 11:56:23 -05:00
Andreas Mueller e0f5049a3d minor fixes in docs. 2015-03-03 11:07:18 -05:00
Andreas Mueller 9bc4de8dae some fixes for sphinx and in examples 2015-03-02 12:50:53 -05:00
Andreas Mueller c970fb51e7 COSMIT spelling 2015-01-15 15:09:35 -05:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
Andreas Mueller 46c1c42131 remove deprecated ``n_bootstraps`` parameter in Bootstrap cv object, verbose in FactorAnalysis and SelectorMixin. Also adjust some deprecation strings. 2014-12-29 13:53:42 -05:00
Alexandre Gramfort 69d393af6f Merge pull request #3931 from dsullivan7/cwwarn
[MRG+1] raising warning for class_weight in fit method
2014-12-12 14:57:37 +01:00
Alexandre Gramfort ae614649d7 Merge pull request #3954 from amueller/fix_sgd_learningrate_docs
DOC explain t0 in the SGD docstring (currently somewhat confusing)
2014-12-11 15:17:32 +01:00
Jeff Hammerbacher bf1691b69a 'none' is an acceptable value for penalty 2014-12-10 18:33:45 -05:00
Andreas Mueller 9392445767 DOC explain t0 in the docstring (currently somewhat confusing) 2014-12-10 18:32:28 -05:00
dsullivan7 b99824fb46 changing warn message, making it Deprecation Warning, and removing negative index for py2.7 2014-12-05 09:39:39 +01:00
dsullivan7 afe890b2a8 adding warning if passing class_weight through fit 2014-12-04 13:17:34 +01:00
dsullivan7 8dd7f16bef adding support for class_weight in fit method 2014-12-03 17:15:49 +01:00
trevorstephens 7c50e6c8eb various docstring fixes for web docs 2014-11-30 17:59:42 -08:00
Andreas Mueller 9033865100 FIX raise error when number of features changes in partial fit, Add common test for inconsisten number of features for partial fit. 2014-11-06 18:01:31 -05:00
Danny Sullivan 04f6d12282 fix to a minor bug with intercept 2014-10-13 18:21:41 +02:00
Danny Sullivan a0f0d461bc fixing merge conflicts 2014-10-09 16:23:45 +02:00
Danny Sullivan fd8dc246ee removing spaces for tuples of width 1 2014-10-08 15:02:00 +02:00
Danny Sullivan d0ea44d5e1 adding space to shape and putting // in average division 2014-10-07 12:47:08 +02:00
Danny Sullivan d6c912969c changing parameters for asgd regression benchmark and changing array shape for docstring 2014-10-07 11:25:37 +02:00
Danny Sullivan 984e9aa8f3 increasing testing precision, putting comment on one line and adding asgd to regression benchmark 2014-10-06 14:39:16 +02:00
Danny Sullivan e5ae879ea0 clean up and average can now be set to an int indicating the number of iterations before averaging 2014-10-03 15:44:15 +02:00
Danny Sullivan 009f7de178 adding note for partial_fit and n_iter 2014-10-03 10:25:51 +02:00
Danny Sullivan 7b6cb91459 adding add_average method and solving iteration bug by replacing definition of t 2014-10-03 09:51:16 +02:00
Danny Sullivan 0d6a8de067 removing documentation about constant learning rate for averaging 2014-10-01 10:42:58 +02:00
Danny Sullivan 5fe405bd65 cleaning up floating point and unneeded todos, also removing constant learning rate for asgd 2014-09-29 12:58:30 +02:00
Danny Sullivan 39c87018b2 cleaning up commented out code and previous_coef_ parameter 2014-09-22 15:40:48 +02:00
Danny Sullivan 3b292b28e5 adding a more descriptive error message 2014-09-13 16:03:19 +02:00
Danny Sullivan e95a7f0e8e adding value error for partial fit with auto weights 2014-09-13 16:02:29 +02:00
Alexandre Gramfort 1ceb885f6b rephrase doc, rename unseen, fix pep8 2014-09-10 22:40:55 +02:00
Danny Sullivan 8081745013 fixing merge conflicts 2014-09-10 11:13:57 +02:00
Danny Sullivan 149d97f78e making optimal for asgd the constant learning rate 2014-09-10 11:10:01 +02:00
Danny Sullivan 14eb82bfeb removing standard_coef and standard_intercept from plain sgd 2014-09-01 13:24:52 +02:00
Danny Sullivan 42fbeaea4c changing sgd to asgd 2014-08-21 14:52:33 +02:00
Danny Sullivan a6777cd670 adding if self.average logic 2014-08-13 16:31:16 +02:00
Danny Sullivan 9acc643afc seperating out the average and plain apis in stochastic_gradient.py 2014-08-07 16:27:37 +02:00
Danny Sullivan ddfb6161c1 changing api to have average_sgd and plain_sgd 2014-08-07 13:48:59 +02:00