Commit Graph

69 Commits

Author SHA1 Message Date
Loïc Estève dc23e3f4a0
MAINT Remove Python<3.9 code from sklearn.utils.fixes (#27945)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-12-13 15:00:08 +01:00
Yao Xiao 2a548da593
FIX make dataset fetchers accept `os.Pathlike` for `data_home` (#27468)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-28 13:19:36 +02:00
Elisabeth Günther a31e1085e1
DOC improve iris example (#26973)
Co-authored-by: Elisabeth Günther <eguenther@MacBook-Pro-von-Elisabeth.local>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-07 16:05:31 +02:00
Rahil Parikh 95f838fcc4
DOC update feature_names and target_names types in load_breast_cancer (#27279) 2023-09-06 11:02:24 +02:00
Oleksii Kachaiev 66b3c138a8
DOC fix docstring for `sklearn.datasets.get_data_home` (#27073) 2023-08-18 11:56:49 +02:00
Jérémie du Boisberranger 04575f5fa3
MAINT Param validation: apply skip nested validation to all functions (#26495) 2023-06-22 18:06:24 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Christian Veenhuis 308edbcafc
MAINT Fix broken link in sklearn.datasets._base.py (#26603) 2023-06-19 17:10:29 +02:00
Sadra Barikbin 092b7f3f67
DOC fix a typo in datasets.load_files docstring (#26533) 2023-06-07 19:01:24 +00:00
Dimitri Papadopoulos Orfanos 4509e5810b
CLN EnvironmentError, IOError, WindowsError → OSError (#26466) 2023-06-02 17:20:31 -04:00
Jiawei Zhang 75d1deaf42
MAINT Parameters validation for sklearn.datasets.load_sample_image (#26226)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-25 15:44:48 +00:00
Jiawei Zhang 363c63304f
MAINT Parameters validation for sklearn.datasets.get_data_home (#26260)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-25 13:24:17 +00:00
Jiawei Zhang bc3a19dee9
MAINT Parameters validation for sklearn.datasets.load_files (#26203)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-25 13:23:25 +00:00
Jiawei Zhang 18a4576009
MAINT Parameters validation for sklearn.datasets.clear_data_home (#26259)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-25 13:02:44 +00:00
Thomas J. Fan ae78c25b00
MNT Use copy=False when creating DataFrames (#26272) 2023-04-25 12:00:03 +02:00
Jiawei Zhang 72610f1e0e
MAINT Parameters validation for sklearn.datasets.load_digits (#26195)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-19 16:21:32 +00:00
Jiawei Zhang 4df6c646e5
MAINT Parameters validation for sklearn.datasets.load_wine (#26196) 2023-04-19 16:52:38 +02:00
Jiawei Zhang 1c04a37a64
MAINT Parameters validation for sklearn.datasets.load_linnerud (#26199) 2023-04-19 16:52:00 +02:00
Yao Xiao b58f44883c
MAINT Parameters validation for sklearn.datasets.load_breast_cancer (#26165)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-14 10:43:54 +02:00
Yao Xiao c7949ddd8a
MAINT Parameters validation for sklearn.datasets.load_diabetes (#26166)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-14 10:37:15 +02:00
VIGNESH D 0f295aa35b
MAINT Parameters validation for sklearn.datasets.load_iris (#26177) 2023-04-14 10:27:10 +02:00
Guillaume Lemaitre 9679dcf015
MAINT remove deprecated call to resources.content (#25951) 2023-03-23 15:13:48 +01:00
Julien Jerphanion f2c78fe8c5
MAINT handle deprecations from `importlib.resources` (#25157)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-12-13 11:44:46 +01:00
Jérémie du Boisberranger 8a86e2196f
MAINT Clean deprecation for 1.2: load_boston (#24603)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-10-10 14:37:43 +02:00
Guillaume Lemaitre 6e5ef2e9b8
MAINT solve long line reported by flake8 (#24065) 2022-08-01 00:15:52 +02:00
martin-kokos 25d5dd02df
DOC Fix extraneous noqa comments (#23285) 2022-05-05 09:46:16 -04:00
Shuangchi He 2e3abc2e32
MAINT Fix some typos (#23251) 2022-04-30 15:03:40 -04:00
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