You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import openml
YOUR_API_KEY = 'REMOVED'
USER_ID = "2086"
openml.config.apikey = YOUR_API_KEY
filtered_datasets = [dataset_id for dataset_id, dataset in datasets.items() if dataset['uploader'] == USER_ID]
for data_id in filtered_datasets:
new_creator = "Jan Peter Drees and Dennis Funke" # Replace with the new creator name
# Update the dataset metadata
data_id = openml.datasets.edit_dataset(data_id=data_id, creator=new_creator)
dataset = openml.datasets.get_dataset(data_id)
print(dataset.creator)
Expected Results
Jan Peter Drees and Dennis Funke
Actual Results
Jan Drees and Dennis Funke
Versions
Please run the following snippet and paste the output below.
Linux-4.15.0-213-generic-x86_64-with-glibc2.17
Python 3.8.12 (default, Oct 12 2021, 13:49:34)
[GCC 7.5.0]
NumPy 1.22.4
SciPy 1.10.1
Scikit-Learn 1.1.1
OpenML 0.13.1
The text was updated successfully, but these errors were encountered:
Description
The edit_dataset function is also not working:
Steps/Code to Reproduce
Example:
Expected Results
Jan Peter Drees and Dennis Funke
Actual Results
Jan Drees and Dennis Funke
Versions
Please run the following snippet and paste the output below.
Linux-4.15.0-213-generic-x86_64-with-glibc2.17
Python 3.8.12 (default, Oct 12 2021, 13:49:34)
[GCC 7.5.0]
NumPy 1.22.4
SciPy 1.10.1
Scikit-Learn 1.1.1
OpenML 0.13.1
The text was updated successfully, but these errors were encountered: