Skip to content

Feature to run a local model, without the intention to upload it to openml #301

Closed

Description

@janvanrijn

Use case: I want to run my model on the OpenML splits, but have not a single intention of uploading it.

Of course, there is the run_model_on_task function, which party does this, but it always attempts to make a flow. This could be a problem, if some very exotic features are used (e.g.: scipy distributions)

Would be cool to be able to bypass this feature.

Activity

  1. janvanrijn commented on Aug 23, 2017

    @janvanrijn
    MemberAuthor

    Current solution:

    res = openml.runs.functions._run_task_get_arffcontent(optimizer, task, task.class_labels)
    run = openml.runs.OpenMLRun(task_id=task.task_id, dataset_id=None, flow_id=None, model=optimizer)
    run.data_content, run.trace_content, run.trace_attributes, run.fold_evaluations, _ = res
    

    But we should probably make a hard blocking mechanism when some fields are not present, and provide a convenience function that makes this a one-liner.

    To be continued.

  2. mfeurer commented on Aug 26, 2017

    @mfeurer
    Collaborator

    I agree this is a use case we want to cover. However, scipy distributions should work. If not, this is a different bug that needs to be addressed.

  3. self-assigned this
    on Aug 2, 2018
  4. mfeurer commented on Mar 6, 2019

    @mfeurer
    Collaborator

    Added in #516.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions