Skip to content

Suggestion: add function to get tasks for a dataset? #797

Closed

Description

@mfeurer

@janvanrijn suggested this as part of his review of PR #791 (#791 (comment))

One possibility would be to have an independent function:

def get_tasks_for_dataset(
    dataset_id: int,
    task_type_id: int,
    estimation_procedure: str,
    status: str,
    check_target_attribute: bool,
) -> List:
    pass

alternatively, one could make this a method for the OpenMLDataset:

def get_tasks(
    self,
    task_type_id: int,
    estimation_procedure: str,
    status: str,
    check_target_attribute: bool,
) -> List:
    pass

what do you think?

Activity

  1. amueller commented on Oct 14, 2019

    @amueller
    Contributor

    How is that different from openml.tasks.list_tasks(data_id=did)?

  2. mfeurer commented on Oct 14, 2019

    @mfeurer
    MemberAuthor

    That's embarrassing, I didn't know this exists.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions