Skip to content

OpenML doesn't return deactivated datasets any more by calling data/list #149

Closed

Description

@mfeurer

This makes a test fail which checks whether dataset 17 is deactivated. Right now, it is not documented on OpenML how to retrieve deactivated datasets. Can only fix this issue once the documentation on OpenML is done.

Activity

  1. joaquinvanschoren commented on Feb 10, 2018

    @joaquinvanschoren
    Contributor
  2. joaquinvanschoren commented on Feb 10, 2018

    @joaquinvanschoren
    Contributor

    Also documented:
    https://www.openml.org/api_docs#!/data/get_data_list_status_status

    I now notice how old this issue is. I just ran into it because one of the unit tests is skipped because of it :)

  3. mfeurer commented on Feb 12, 2018

    @mfeurer
    CollaboratorAuthor

    Yeah, we need to update the package at some point to reflect this change - I'm leaving this open for this reason.

  4. PGijsbers commented on Mar 17, 2019

    @PGijsbers
    Collaborator

    Is it possible this issue is outdated? For deactivated dataset 478, I can currently fetch and discover it thus (all work):

    d = openml.datasets.get_dataset(478)
    
    ds = openml.datasets.list_datasets(status='all')
    ds[478]  # No key error, description present
    
    ds = openml.datasets.list_datasets(status='deactivated')
    ds[478]  # No key error, description present
    

    Deactivated datasets are by default not returned for list_datasets, but this is documented in the function's docstring.

  5. PGijsbers commented on Mar 17, 2019

    @PGijsbers
    Collaborator

    Nevermind I noticed the unit test referenced in #382. Though I do think it is a separate issue (I think it is check_datasets_active that has the bug).

  6. self-assigned this
    on Mar 17, 2019
  7. mfeurer commented on Mar 18, 2019

    @mfeurer
    CollaboratorAuthor

    Fixed via #642.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions