Commit Graph

45 Commits

Author SHA1 Message Date
Dimitri Papadopoulos Orfanos ee5a1b69d1
DOC, MNT Typos found by codespell (#22906) 2022-03-20 19:16:39 +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
Thomas J. Fan fb34236ce0
MNT Closes corrupted file correctly in test_fetch_openml_verify_checksum (#22005) 2021-12-17 09:05:03 +01:00
Thomas J. Fan 88de60a8fa
TST Do not use cache for fetch_openml tests (#21806)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-11-30 15:01:10 +01:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +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 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan d6b7b51144
TST Ignore numpy warning for now (#20327) 2021-06-23 10:27:47 +02:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Thomas J. Fan 9b98add211
FIX Shorten data file names in tests to better support windows (#20209) 2021-06-12 15:30:49 +02:00
mlondschien 95f5fb48e1
FIX Fix typo in error message in `fetch_openml` (#20201) 2021-06-04 08:08:05 -04:00
Alihan Zihna 1b6a651296
TST Changes assert to pytest style in decomposition, datasets, covariance, compose (#20104)
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
2021-05-19 20:12:57 -04:00
Thomas J. Fan bfd7b58c1d
TST Do not use cache in test_fetch_openml_iris (#19594) 2021-03-12 14:48:24 +01:00
Thomas J. Fan e23dd85147
TST Does not use cache in openml test (#19534) 2021-02-23 19:18:41 +01:00
Muhammad Jarir Kanji 4220043782
TST Suppress multiple active versions of dataset warnings in `test_openml.py` (#19373)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-02-07 12:02:15 +01: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
Muhammad Jarir Kanji 70534d67be
FIX Add `with` context manager to open file from OpenML in test file (#19367) 2021-02-06 10:19:57 +01:00
Juan Carlos Alfaro Jiménez 8caff3c8d7
MNT Mark test_openml as XFAIL for PyPy (#18907) 2020-12-01 08:39:15 +01: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
Jiaxiang 77a34290d2
Add as_frame='auto' option in datasets.fetch_openml (#17396) 2020-06-10 09:34:46 +02:00
Joel Nothman a14953aca9
ENH buffer openml stream rather than reading all at once (#16084) 2020-04-26 18:52:47 +02:00
Roman Feldbauer 9b39c4c4d2
TST Fix unreachable code in tests (#16110) 2020-02-16 14:41:26 +01:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +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 323cb61b7a ENH Adds target names to fetch_openml (#15160) 2019-10-16 13:57:02 +02:00
Sarra Habchi e49b9d3d75 FIX IndexError in fetch_openml('zoo') (#14623) 2019-08-14 09:51:51 +10:00
Andreas Mueller 03fd26c45b MNT fetch_openml make indices unique in returned dataframe (#14316) 2019-07-13 16:16:55 +08:00
Thomas J Fan cf3e303be6 EHN Add pandas dataframe support to fetch_openml (#13902) 2019-07-12 18:05:59 +02:00
Joris Van den Bossche 1f75ffa75f MNT Memory usage of OpenML fetcher: use generator from arff (#13312)
* Memory usage of OpenML fetcher: use generator from arff

* fix actually getting data qualities in all cases

* Add qualities responses

* add workaround for cases where data qualities are not available

* feedback joel
2019-02-28 15:07:45 +01:00
Joel Nothman b61283de37 TST: test was relying on arch-dependent casting of NaN (#13265) 2019-02-26 10:51:58 +01:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Thomas Fan 14c816e2b8 ENH/FIX openml, Adds retrying if reading from cache fails (#12526) 2018-11-14 17:40:35 +11:00
janvanrijn 3282d43ccc [MRG] Additional Warnings in case OpenML auto-detected a problem with dataset (#12541)
* added additional warning output

* added features gzip

* added gzipped datasets

* fix file naming

* changed expected warning msg
2018-11-07 10:30:33 -05:00
janvanrijn 03c3af5bde [MRG] Fix fetch_openml when ignore attributes are numeric (#12330)
* modularized data column functionality

* small bugfix

* removes redundant line breaks

* added some documentation on the added fn

* added additional comment on advice of Nicholas Hug

* added test case

* merged master into branch, and added small comments by Joel

* added doc item
2018-10-09 11:25:46 -04:00
janvanrijn afa0694d12 FIX cache of OpenML fetcher (#12246) 2018-10-05 16:36:06 +10:00
Joel Nothman 1fafc5c56d TST use urlopen monkeypatch for test_decode_* (#12020)
Avoid requiring internet for test suite. Examples will still run with internet (as long as cache is occasionally cleared).
2018-09-06 09:29:37 +02:00
Thomas Fan 83e73759f0 ENH Uses gzip when caching in fetch_openml (#11830) 2018-09-03 09:03:44 +10:00
Adrin Jalali dd4b528612 [MRG+1] fetch_openml: test data file names resemble the urls (#11846) 2018-08-21 16:13:06 +02:00
vufg 52a36b4d1a ENH fetch_openml should support return_X_y (#11840) 2018-08-19 22:11:16 +08:00
Adrin Jalali d2d9abb48d ENH fetch_openml: more strongly encourage users to specify version (#11827) 2018-08-16 16:07:44 +03:00
janvanrijn ab82f5739f [MRG] Openml data loader (#11419) 2018-08-15 17:21:20 +10:00