Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

edit_dataset function not working

未關閉
#1,331 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
38/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
data

研究方向

Start by running the supplied reproduction with OpenML 0.13.1 and trace openml.datasets.edit_dataset followed by get_dataset. Compare the creator value sent and the value returned; done means the updated creator is preserved exactly as “Jan Peter Drees and Dennis Funke”.

由索引模型根據 Issue 內容生成。

描述

bug
Description

The edit_dataset function is also not working:

Steps/Code to Reproduce

Example:

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

主要語言
Python
星號
366
分支
308
平均合併
1 天 16 小時
30 天內合併 PR
7

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

openml/openml-python 的其他 Issue

查看 openml/openml-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。