Commit Graph

285 Commits

Author SHA1 Message Date
Thomas J. Fan 7cc0177f8e
MNT Replaces numpy alias with builtin typse (#17687)
* MNT Replaces numpy alias with builtin typse

* STY Lint error
2020-06-24 16:51:51 +02:00
Venkatachalam N 96f6a830cf
EXA Add topic plots to topic modeling example (#17202) 2020-06-21 09:53:26 +10:00
Maren Westermann 465f29f4f6
shorten links in examples-applications (#17635) 2020-06-19 13:35:32 +02:00
Roman Yurchak 94f2e9c5d8
DOC simpler block delimitation in sphinx-gallery examples (#17068)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-08 23:23:14 -04:00
Christian Lorentzen 79b0943de0
DOC avoid FutureWarnings for deprecations examples (#17264)
* MNT keyword only in examples

* MNT pandas 1.0.0 deprectation

See pandas-dev/pandas#23566

* MNT new keyword in 0.23
2020-05-18 18:35:12 +02:00
maikia 1986c89a12
DOC exchange Boston for Diabetes at plot model complexity influence (#16533) 2020-05-18 15:30:23 +02:00
Lucy Liu 3a724107bb
DOC replace boston dataset in example plot_outlier_detection (#16687) 2020-03-24 09:18:41 +01:00
nicolasservel a58c6c8bf2
DOC remove caching in wikipedia_principal_eigenvector example (#16271) 2020-01-29 11:57:49 +01:00
waelbenamara a5b689429d MAINT/EXA replaced deprecated NavigationToolbar2TkAgg (#16187) 2020-01-28 07:30:19 +01:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00
Thomas J Fan 0a7adef005 MNT Make modules private in linear_model (#15324) 2019-10-23 15:34:26 +02:00
Thomas J Fan 9b0d02d429 MNT Uses public modules instead of deprecated modules in examples (#15296) 2019-10-21 09:56:55 +08:00
Nicolas Hug 5c5635feb7 MNT make files private in sklearn.svm (#15165) 2019-10-18 16:18:33 -04:00
kellycarmody d10b53fa25 DOC Moved the text around to different subsections for documentation of "… (#14899)
* Moved the text around to different subsections for documentation of "Out-of-core classification of text documents"

* Added spaces to #'s to pass pep8 conventions

* cut lines that were too long

* cut trailing space
2019-09-06 15:30:28 +02:00
Thomas J Fan 14f5302b70 DOC Link items explictly (#14817)
* DOC Link items explictly

* STY

* DOC Link another
2019-09-05 11:37:05 +02:00
Kanika Sabharwal 8f9a027b38 removed redundant tol paramtere from examples (#14765) 2019-08-24 17:51:47 -04:00
Allen Akinkunle 01d8e70af0 MNT Use return_X_y=True with load_boston where appropriate (#14678) 2019-08-20 10:08:23 +08:00
qdeffense f13c9c0752 CLN remove redundant default parameters in examples and tests (#14590)
remove redundant 'fit_intercept=True' in examples and tests along with some instances of other redundant parameters (max_iter=100, C=1 and alpha=1.0)
2019-08-07 10:38:41 -07:00
Harsh Mahajan 228109cd5c MAINT Remove tolerance paramter from Perceptron (#14558) 2019-08-02 16:11:46 -04:00
Harsh Mahajan 38fd24ac1e EXA Remove redundant tol parameter for SGDClassifier (#14556) 2019-08-02 14:04:10 -04:00
Sourav Singh f8e4cc495a ENH Add return_X_y to 20_newsgroups and olivetti_faces (#14259) 2019-07-20 10:30:09 +08:00
Archana Alva 40b2a6c7e3 EXA Removing redundant parameters assignment in examples (#14360) 2019-07-14 22:26:41 +08:00
Guillaume Lemaitre 9adba491a2 [MRG] DEP change the default of cv and n_splits (#13839) 2019-05-29 23:39:20 +10:00
Guillaume Lemaitre 8a8e21b2a3 MNT Change the default value of n_estimators in forests (#13803) 2019-05-09 21:19:20 +08:00
Guillaume Lemaitre 69eb4d4678 [MRG] DEP change default and deprecate iid in SearchCV (#13834) 2019-05-09 14:26:05 +02:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Hanmin Qin 575064b8e1
MNT More clean up after we remove python < 3.5 (#13078) 2019-02-02 22:01:13 +08:00
Adrin Jalali 69c8967e21 DOC Fix warnings in examples (#12654)
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
Roman Yurchak acb8106472 MNT Use list and dict comprehension (#12668) 2019-01-08 09:32:34 +11:00
Mickaël Schoentgen 2df594564d EXA Fix several DeprecationWarning: invalid escape sequence in examples (#12924) 2019-01-05 12:22:36 +08:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Adrin Jalali 77b9b1f114 BLD circle-ci should only run/build plot_* files (#12797) 2018-12-28 19:48:45 +08:00
Hanmin Qin 9dfe8768c8 MNT Unused import 2018-11-24 23:38:38 +08:00
Loïc Estève e6e8345248 EXA remove unused variables. (#12647)
The data comes from static CSVs that cover 2003-01-01 to 2007-12-31.
2018-11-24 23:34:56 +08:00
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
Xing Han Lu c76dc05881 EXA Fix labels overlap in Out-of-core classification of text documents example (#12359) 2018-10-13 15:01:59 +02:00
TakingItCasual 74b56dbc57 MNT Converting http to https (#12277) 2018-10-04 22:37:57 +08:00
Hanmin Qin 8890b50606 [MRG+1] EXA Set cv=5 in examples (#11856)
* EXA Set cv=5 in examples

* small mistake

* [doc build]

* [doc build]

* cross_val*

* [doc build]

* [doc build]
2018-08-20 15:22:42 -04:00
Naoya Kanai c1738a38a5 MNT update Travis dependencies to latest available versions (#11714) 2018-08-14 08:23:06 +10:00
ZJ Poh adddf00433 [MRG] np.ones -> np.full (#11628) 2018-07-23 09:49:01 +02:00
jeremiedbb bf11d44558 [MRG+1] Fix bad fp-comparisons (#11591)
* all close comparison

* base + random + wikipedia

* revert flake8

* comments
2018-07-18 21:09:04 +02:00
annaayzenshtat 2242c59fc8 [MRG] EHN: Change default n_estimators to 100 for random forest (#11542)
<!--
Thanks for contributing a pull request! Please ensure you have taken a look at
the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/master/CONTRIBUTING.md#pull-request-checklist
-->

#### Reference Issues/PRs
<!--
Example: Fixes #1234. See also #3456.
Please use keywords (e.g., Fixes) to create link to the issues or pull requests
you resolved, so that they will automatically be closed when your pull request
is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests
-->
Fixes #11128.

#### What does this implement/fix? Explain your changes.
Issues deprecation warning message for the default n_estimators parameter for the forest classifiers. Test added for the warning message when the default parameter is used.

#### Any other comments?


<!--
Please be aware that we are a loose team of volunteers so patience is
necessary; assistance handling other issues is very welcome. We value
all user contributions, no matter how minor they are. If we are slow to
review, either the pull request needs some benchmarking, tinkering,
convincing, etc. or more likely the reviewers are simply busy. In either
case, we ask for your understanding during the review process.
For more information, see our FAQ on this topic:
http://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention.

Thanks for contributing!
-->
2018-07-17 14:42:59 -05:00
Joel Nothman 14e7c328df Restructure access to vendored/site Joblib (#11471)
In order to fix #11408, this swaps `joblib` and `_joblib`. It however, allows users to access joblib's `Memory` or `Parallel` functionality without accessing `sklearn.externals._joblib` by importing `Memory`, `Parallel`, etc. into `sklearn.utils`.
2018-07-17 18:02:11 +02:00
Andreas Mueller 0b8d362545 [MRG] Examples deprecations (#11561) 2018-07-17 00:08:04 -05:00
Loïc Estève 1557cb8a19 EXA Fix plot tomography l1 reconstruction (#11100)
* Ensure that the number of angles is integer

* Fix plot_tomography_l1_reconstruction.py

Error was: TypeError: 'numpy.float64' object cannot be interpreted as an integer.

[doc build]
2018-05-17 09:55:28 +10:00
Loïc Estève 2dc2261547 [MRG] Fix plot_stock_market.py after Google finance URL shut-down (#10958)
Also install pandas=0.13.1 (trusty version) in CicleCI Python 2 build.

Mention in README that some example may need pandas.
2018-04-14 21:54:03 +10:00
Loïc Estève 4989a95037
MNT make sure to not run plot_stock_market.py by renaming it (#10878)
Temporary fix until we find a replacement for the Google finance data.
2018-03-28 11:06:21 +02:00
Hanmin Qin 6f7394953b EXA avoid use of matplotlib.cm.spectral which has been removed (#10764) 2018-03-07 16:49:45 +11:00
Artiem K 63a2f0a02b MAINT Rename GraphLasso to GraphicalLasso (#10078) 2018-02-20 11:59:52 +11:00