Commit Graph

42 Commits

Author SHA1 Message Date
victoirelouis eea5a10bdb
DOC adds two dots from datasets._base.load_sample_image (#22805)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-21 20:44:22 +01:00
sharmadharmpal d49f7c3c06
DOC Ensures that load_wine passes numpydoc (#22469)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-21 19:51:48 +01:00
Thomas J. Fan a5c90f8abd
MNT Removes externals._pilutil and uses Pillow directly (#22743) 2022-03-18 14:52:32 +01:00
victoirelouis 9d7220b57c
DOC changed some typo of _shrunk_covariance.ledoit_wolf_shrinkage (#22798)
* Changed from 3rd to 1st person the 1st word and remote blanck space.

* Add two periods in the content
2022-03-13 10:34:58 +01:00
Dennis Osei bdd5a9e19d
DOC Ensures that linnerud passes numpydoc validation (#22484)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-26 23:27:12 -05:00
Thomas J. Fan 7254664608
MNT Fixes pypy load_files error in test (#22619)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-02-26 10:23:18 +01:00
Meekail Zain fc72ebe61c
ENH Adds file extension selection to load_files (#22498)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Tony <tony.attalla@mail.utoronto.ca>
Co-authored-by: Kazim <smkazimn@gmail.com>
Co-authored-by: Tony Attalla <39226687+TonyAttalla@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-17 00:15:29 -05:00
Dennis Osei 39c341ad91
DOC Ensures that load_digits passes numpydoc validation (#22392) 2022-02-09 12:16:40 -05:00
Dennis Osei a793c1f0ad
DOC Ensures that sklearn.datasets._base.load_breast_cancer passes numpydoc validation (#22346)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2022-02-01 10:39:40 +01:00
Purna Chandra Mansingh 449d91641c
DOC Ensures that get_data_home passes numpydoc validation (#22259)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-01-24 10:28:17 -05:00
Purna Chandra Mansingh 6bdfb9a11e
DOC Ensures that load_boston passes numpydoc validation (#22247) 2022-01-24 09:29:07 -05:00
Mandy Gu 379919dc59
ENH Add optional parameter to return raw data for diabetes dataset (#16605)
Co-authored-by: happilyeverafter95 <mgu@wealthsimple.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 11:33:18 +01:00
Arturo Amor f67a17938c
DOC Ensures that load_iris passes numpydoc validation (#21760)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-12-01 10:05:09 -05:00
Tamires Santana d017f6fdc6
DOC Ensures that load_files passes numpydoc validation (#21727)
Co-authored-by: Tamires Santana <“tamires.santana@wildlifestudios.com”>
2021-11-22 19:37:34 +01:00
Federico Luna c5af93cd83
DOC Ensures that load_diabetes passes numpydoc validation (#21526) 2021-11-04 18:41:01 -07:00
Dimitri Papadopoulos Orfanos 10a5468e90
DOC Remove some str/unicode leftovers from Python 2 (#21270)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-08 13:55:15 +02:00
Randall Boyes cbe41518f7
DOC fix typo in load_boston docstring (#21197) 2021-09-30 10:08:09 +02:00
Olivier Grisel e13485a400
FIX sphinx formatting in load_boston (#21185) 2021-09-29 13:48:37 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Guillaume Lemaitre c592361e53
DOC add warning regarding the load_boston function (#20729)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-17 09:40:59 +02:00
Jack Liu 5562cc5d58
MNT: replace __file__ with importlib.resources (#20297)
(compat with pyOxidizer and zipapp)
2021-07-27 13:46:50 +02:00
Thomas J. Fan 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Loïc Estève 365234563e
Set up matplotlib agg backend at the beginning of the tests (#20230)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-17 17:45:53 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Shao Yang Hong 90b399269b
DOC Fix the description of some features in load_diabetes (#19366)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-04-16 18:41:59 +02:00
Olivier Grisel 8d3b424112
FIX race condition in get_data_home causing FileExistsError (#19560) 2021-03-01 14:45:01 +01:00
Guillaume Lemaitre 15cb8695a2
EHN Add parameter as_frame to fetch_20newsgroups_vectorized (#18262)
* Adding as_frame kwarg to fetch_20newsgroups_vectorized

* Using SparseArray to store the data

* Adding changelog

* Adding pandas version dependency, and more tests

* DOC: rephrasing changelog [skip ci]

* iter

* fix

* update whats new

* apply some suggestions

* Apply suggestions from code review

Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>

* review

* iter

* iter

* improve test

* TST handle the case that the pickle file is outdated

* iter

* skip if no network

* use fixture available

* address adrin comments

Co-authored-by: Brigitta Sipocz <bsipocz@gmail.com>
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-11-01 10:00:37 +01:00
Roman Yurchak 361c052f6d
MNT Add type annotations for OpenML fetcher (#17053)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-25 18:30:27 +02:00
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
Michael 77688126df
DOC update the default in datasets and impute modules to follow guideline (#17512)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-15 15:44:07 +02:00
Adrin Jalali 1ba06518c5
API make load_* args in datasets kwarg only (#16719)
* API male load_* args in datasets kwarg only

* more loaders

* pep8

* fix test_omp usage

* fix some usages

* Update sklearn/datasets/_samples_generator.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-04-27 14:41:35 -04:00
Ekaterina Borovikova 4755ae76d2
DOC Add versionchanged and versionadded for v0.20 (#16199)
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
CastaChick ca78d75e75
DOC Fixed documents that refer to Bunch object #16438 (#16447)
* Added links to utils.Bunch and fixed format of the docstring in datasets

* Added links to utils.Bunch in sklearn.compose

* Added links to utils.Bunch in sklearn.tree

* Added links to utils.Bunch in sklearn.ensemble

* Added links to utils.Bunch in sklearn.inspection

* Added links to utils.Bunch in sklearn.pipeline

* modified docstring of Bunch

* Added links to utils.Bunch to index.rst of sklearn.datasets

* Fixed some docstrings because the lines are too long

* Fixed some points as reviewed.

* Add links and delete 'for more information...'

* Fixed indent

* Fixed forgotten points.

* Fixed some points as reviewed.
2020-02-27 10:04:04 +01:00
wconnell ce91b6aaec
ENH add as_frame functionality for toy datasets (#15980) 2020-02-02 13:18:47 -05:00
maikia 7c8af444ae
DOC improved descrition of the linnerud dataset (#16308) 2020-02-01 13:19:21 +01:00
Adrin Jalali 562c08b7e0 MNT remoe deprecated _refresh_cache usage (joblib related) (#16108) 2020-01-14 09:24:59 +08:00
Guillaume Lemaitre cb86aae1ed
DOC improve random_state docstring of datasets module (#16057) 2020-01-08 18:52:31 +01:00
Reshama Shaikh 1cda8ed987 ENH adding as_frame functionality for CA housing dataset loader (#15950)
Co-authored-by: Stephanie Andrews <byronic.string@gmail.com>
2019-12-26 12:30:41 +01:00
Nicolas Hug 19ad136223 MNT Replace DeprecationWarning with FutureWarning (#15080)
* bruteforce renaming

* WIP

* WIP

* some more

* removed weird line

* update -Werror

* testiforest

* again

* Fixed some tests

* fixed some tests

* removed -Werror

* fixed test_docstring_param issue

* fixed some tests

* some more

* renamed to SklearnDeprecationWarning

* pep8

* updated docs

* pep8

* merge

* changed to FutureWarning

* fixes

* Update doc/developers/tips.rst

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* avoid duplicates

* fixed warning for deprecations

* Still make CI break if DeprecationWarning isn't caught

* updated one warning

* fixed test

* fixed some renamings

* updated new dep warnings

* fixed bad import

* ignore warnings

* update again

* ignore futurewarning when walking packages

* Fixed test

* pep8

* Added whatsnew
2019-10-29 15:39:26 +01:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00