Skip to content

Conversation

@PGijsbers
Copy link
Collaborator

Previously download_qualities would be left at the default of True with no way to overwrite it, this PR adds the parameter to get_task which would allow you to download a task with its dataset without ever downloading qualities.

Previously ``download_qualities`` would be left at the default of True
with no way to overwrite it.
@PGijsbers PGijsbers requested a review from mfeurer May 19, 2021 13:16
task
"""
if not isinstance(task_id, int):
warnings.warn("Task id must be specified as `int` from 0.14.0 onwards.", DeprecationWarning)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went with (what I remember to be) scikit-learn's default behavior of having at least one full minor release with the deprecation warning.

@PGijsbers PGijsbers requested a review from mfeurer May 20, 2021 08:01
@mfeurer mfeurer merged commit 68f51a9 into develop May 20, 2021
@mfeurer mfeurer deleted the task_optional_downloads branch May 20, 2021 09:12
PGijsbers added a commit to Mirkazemi/openml-python that referenced this pull request Feb 23, 2023
* Allow tasks to be downloaded without dataqualities

Previously ``download_qualities`` would be left at the default of True
with no way to overwrite it.

* Deprecate the use of strings for identifying tasks
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