Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download all files #1188

Merged
merged 30 commits into from
Nov 25, 2022
Merged

Download all files #1188

merged 30 commits into from
Nov 25, 2022

Conversation

PGijsbers
Copy link
Collaborator

@PGijsbers PGijsbers commented Nov 25, 2022

It allows you to turn on an experimental feature that downloads all files found in the minio bucket where the parquet file is stored. You can turn it on by specifying download_all_files=True in get_dataset. Example:

import openml
openml.datasets.get_dataset(44312, download_all_files=True)

will also download an additional archive and unzip it.

mfeurer and others added 29 commits October 25, 2020 20:00
Additionally, rename old cached files to the new filename format.
Otherwise the only way would be to delete the cache.
Additionally, rename old cached files to the new filename format.
Otherwise the only way would be to delete the cache.
@PGijsbers PGijsbers merged commit 580b536 into openml:develop Nov 25, 2022
PGijsbers added a commit that referenced this pull request Feb 20, 2023
In #1188 we changed the standard cache file convention from
dataset.pq to dataset_{did}.pq. See also #1188.
mfeurer pushed a commit that referenced this pull request Feb 21, 2023
In #1188 we changed the standard cache file convention from
dataset.pq to dataset_{did}.pq. See also #1188.
PGijsbers added a commit to Mirkazemi/openml-python that referenced this pull request Feb 23, 2023
* Towards downloading buckets

* Download entire bucket instead of dataset file

* Dont download arff, skip files already cached

* Automatically unzip any downloaded archives

* Make downloading the bucket optional

Additionally, rename old cached files to the new filename format.

* Allow users to download the full bucket when pq is already cached

Otherwise the only way would be to delete the cache.

* Add unit test stub

* Remove redundant try/catch

* Remove commented out print statement

* Still download arff

* Towards downloading buckets

* Download entire bucket instead of dataset file

* Dont download arff, skip files already cached

* Automatically unzip any downloaded archives

* Make downloading the bucket optional

Additionally, rename old cached files to the new filename format.

* Allow users to download the full bucket when pq is already cached

Otherwise the only way would be to delete the cache.

* Add unit test stub

* Remove redundant try/catch

* Remove commented out print statement

* Still download arff

* ADD: download all files from minio bucket

* Add note for openml#1184

* Fix pre-commit issues (mypy, flake)

Co-authored-by: Matthias Feurer <feurerm@informatik.uni-freiburg.de>
PGijsbers added a commit to Mirkazemi/openml-python that referenced this pull request Feb 23, 2023
In openml#1188 we changed the standard cache file convention from
dataset.pq to dataset_{did}.pq. See also openml#1188.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants