openml / openml/OpenML

Extend arff checker to return legal column names

Open
#834 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CoreSystem
Dominant language
PHP
Stars
755
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Currently, the following query reveals that several datasets have an illegal default target feature:

SELECT d.did, d.name FROM `dataset` d WHERE default_target_attribute NOT IN (SELECT name FROM data_feature WHERE data_feature.did = d.did)

this should be checked when uploading a dataset.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ARFF checker and the dataset-upload validation path, then compare their handling of column names with the reported query. The work is done when an upload with a default target attribute absent from the dataset's legal column names is detected and the checker reports it consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.