Skip to content

Dataset_id required on dataset creation #311

Closed

Description

@joaquinvanschoren

When I want to upload a new dataset, I can create an OpenMLDataset and then publish it.
However, the creation of an OpenMLDataset requires a dataset_id.

This does not make sense when uploading a new dataset. I could just add dataset_id='1', but that is still confusing since it will be entirely ignored.

Activity

  1. joaquinvanschoren commented on Sep 26, 2017

    @joaquinvanschoren
    ContributorAuthor

    My code. Remove dataset_id from the list of parameters to see the error.

    oml.config.server = 'https://test.openml.org/api/v1'
    my_data = oml.datasets.OpenMLDataset(data_file='data/ram_price.arff', name='RAM_Price', description='This is a test.', version='1', tag='test', format='ARFF', licence='Public', visibility='public', dataset_id='1')
    response = my_data.publish()
    
  2. mfeurer commented on Jun 8, 2018

    @mfeurer
    Collaborator

    @ArlindKadra could you please check whether this is solved by #440?

  3. ArlindKadra commented on Jun 8, 2018

    @ArlindKadra
    Member

    @mfeurer

    dataset_id : int, optional

  4. mfeurer commented on Jun 8, 2018

    @mfeurer
    Collaborator
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