Commit Graph

246 Commits

Author SHA1 Message Date
Guillaume Lemaitre e3c9ae204f [MRG+1] DOC improve description and consistency of random_state (#8689)
* DOC improve description of random_state in train_test_split

* DOC Make random_state consistent through documentation

* FIX reverse doc mistake

* FIX address comment of Tom

* DOC address comments

* DOC remove empty line

* DOC remove unecessary white spaces
2017-04-05 17:43:21 -07:00
Ekaterina Krivich be305cebaf TST/FIX Add check for estimator: parameters not modified by `fit` (#7846)
ensure that estimators only add private attributes and attributes with
  trailing _

  in cases when existing estimators don't follow this new rule, we deprecate the
  attributes and make them follow this rule
2017-01-20 11:33:17 +11:00
Loïc Estève e542efafe2 TST Ensure that attributes ending _ are not set in __init__ (#7464) 2016-12-12 21:57:43 +11:00
Andreas Mueller 5c4b1bb231 [MRG+1] Housekeeping Deprecations for v0.19 (#7927)
* remove stuff to be removed 0.19

* more changes

* remove classes from 0.19 whatsnew

* remove _LearntSelectorMixin

* remove ProjectedGradientNMF, load_lwf_*

* minor fixes

* remove more copy from logistic regression path

* remove lda, qda from __init__.__all__

* remove pg solver in nmf from tests etc

* remove class_weight="auto" from tests

* doctest change for decision_function_shape="ovr"

* remove transfrom from tree test, minor fixes to tree tests

* some fixes in the tests

* undo changes in functions which still allow 1d input...

* also allow 1d in scale

* more test fixes...

* last test fixes in forest and tree

* svm default value change doctest failures

* pep8

* remove more class_weight="auto" stuff

* minor cosmetics in docstrings deprecated / removed behavior.

* say that store_covariance has been moved to __init__ in discriminant_analysis
2016-12-09 12:43:38 -05:00
Olivier Grisel ebb0645966 DOC reference CalibratedClassifierCV in SGDClassifier.predict_proba (#7281) 2016-08-29 21:44:27 +10:00
Joel Nothman 55de9bb30c DOC improve formatting for learning_rate docstrings 2016-08-17 15:13:15 +10:00
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