Commit Graph

41 Commits

Author SHA1 Message Date
Olivier Grisel 01a1fd1639
UX: make the fetch_opeml version warning more informative by listing all versions and urls (#27885) 2023-12-08 15:51:41 +01:00
Guillaume Lemaitre d31316a8d3
MAINT raise ValueError in fetch_openml if pandas not installed (#27833) 2023-11-30 21:34:12 +00:00
Olivier Grisel 3ab6c8cf0c
MAINT Update fetch_openml to use the auto parser by default (#27802) 2023-11-20 11:20:20 +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
Stefanie Senger b245b7e3c4
MAINT Parameter validation for sklearn.datasets.fetch_openml (#26519)
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-07-06 14:11:00 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Guillaume Lemaitre 586f4318ff
ENH allows to overwrite read_csv parameter in fetch_openml (#26433)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2023-06-07 12:52:33 +00:00
Dimitri Papadopoulos Orfanos 2fd022d972
MAINT Fix typos found by codespell (#26448) 2023-05-31 10:19:21 +02: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
Loïc Estève a1877586bb
FIX possible UnboundLocalError in fetch_openml (#26236) 2023-04-20 11:45:53 -04:00
Loïc Estève d8b05e080e
MNT use api.openml.org URLs for fetch_openml (#26171) 2023-04-14 15:13:21 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Guillaume Lemaitre d92fba7b65
FIX add retry mechanism to handle quotechar in read_csv (#25511) 2023-03-06 18:12:52 +01:00
Guillaume Lemaitre 8515b48681
FIX make pandas and liac arff parser quoting behaviour closer (#23497)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-06-09 16:32:12 +02:00
Loïc Estève d247579341
Fix OpenML timeout (#23358) 2022-05-13 14:28:50 +02:00
Guillaume Lemaitre a47d569e67
ENH improve ARFF parser using pandas (#21938)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2022-05-12 18:21:15 +02:00
Dimitri Papadopoulos Orfanos ee5a1b69d1
DOC, MNT Typos found by codespell (#22906) 2022-03-20 19:16:39 +01:00
Olivier Grisel 8d6d7d9f40
CI fetch_openml retry on SSL timeout (#22529) 2022-02-18 09:29:06 -05:00
Matías 3abc99bdf2
DOC Ensures that fetch_openml passes numpydoc validation (#22483) 2022-02-14 20:09:08 -05:00
Hind-M b3aea0053d
DOC fix cache argument documentation in fetch_openml (#22304)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-26 14:55:59 +01:00
Rileran 0882bd3cf7
ENH Add a retry mechanism in fetch_openml (#21901)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-22 14:03:15 -05:00
Guillaume Lemaitre 826032f917
MAINT refactor ARFF parser (#22026) 2021-12-21 12:37:33 -05:00
siavrez b1202af3b3
FIX Make fetch_openml atomically cache the download (#21833)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-12-04 16:53:11 -05:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +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
mlondschien 95f5fb48e1
FIX Fix typo in error message in `fetch_openml` (#20201) 2021-06-04 08:08:05 -04: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
Amanda Dsouza 80c47b0153
ENH Adds categories with missing values support to fetch_openml with as_frame=True (#19365)
* MNT Fixes missing value loading into a dataframe from openml

* FIX Include data files

* DOC Adds whats new

* REV Less diffs

* DOC Uses docstring style comment in test

* resolved conflict

* resolve conflict in doc

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-02-06 12:41:27 +01:00
Roman Yurchak ac8760d089
MNT Use mypy --allow-redefinition + config (#18313) 2020-08-31 19:03:38 -04:00
Jiaxiang bdf2ff5763
API Change default value of as_frame in fetch_openml to 'auto' (#17610) 2020-08-15 21:06:41 +10:00
Shashank Singh 1e08459c74
ENH Verify md5-checksums received from openml arff file metadata(#14800)
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-25 20:35:52 -04: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
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
Jiaxiang 77a34290d2
Add as_frame='auto' option in datasets.fetch_openml (#17396) 2020-06-10 09:34:46 +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
Nicolas Hug a35b892522
Fix Mypy issue in _openml.py (#17047) 2020-04-26 14:37:07 -04:00
Joel Nothman a14953aca9
ENH buffer openml stream rather than reading all at once (#16084) 2020-04-26 18:52:47 +02: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
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
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00