Bug: Clustering tasks don't extract estimation procedure details from server XML
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
Start in tasks/functions.py at _create_task_from_xml() around line 495, where estimation procedure details are extracted. Check how clustering tasks handle empty estimation_procedure_id and target_name values, then verify that the reported type, parameters, and data_splits_url are populated without breaking unsupervised tasks.
由索引模型根据 Issue 内容生成。
描述
Description
Clustering tasks (TaskType.CLUSTERING) are not having their estimation procedure
details properly extracted from server XML, resulting in None values.
Current Behavior
task = openml.tasks.get_task(126033) # Clustering task
print(task.estimation_procedure)
# {'type': None, 'parameters': None, 'data_splits_url': None}
Expected Behavior
task.estimation_procedure
# {'type': 'testontrainingdata', 'parameters': {'number_repeats': '50'},
# 'data_splits_url': 'https://...'}
Root Cause
In _create_task_from_xml() (tasks/functions.py:495), TaskType.CLUSTERING
is not included in the if block that extracts estimation procedure details.
There is already a TODO comment for this: # TODO: add OpenMLClusteringTask?
Add TaskType.CLUSTERING to the if block, with edge case handling for:
1. Empty estimation_procedure_id (some tasks have empty values)
2. Empty target_name (unsupervised tasks)
- 主要语言
- Python
- 星标
- 361
- 派生
- 296
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openml/openml-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
openml/openml-python#1750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
openml/openml-python#1749 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
openml/openml-python#1746 ·
-
Documentation Good First Issue
难度 2/5 1-3 小时 新手友好度 74/100
openml/openml-python#1708 · 7 条评论 ·
-
Good First Issue module:Run testing
难度 2/5 1-3 小时 新手友好度 82/100
openml/openml-python#1646 · 7 条评论 · 2 个 reaction ·
查看 openml/openml-python 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·