openml / openml/OpenML

Task 4788 is broken

Open
#698 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When I try downloading the task in R I get:

> tsk <- getOMLTask(task.id = 4788)
Task '4788' file 'task.xml' found in cache.
Task '4788' file 'datasplits.arff' found in cache.
Data '414' file 'description.xml' found in cache.
Data '414' file 'dataset.arff' found in cache.
Error in .jnew("weka/core/Instances", .jcast(reader, "java/io/Reader")) : 
  java.io.IOException: keyword @relation expected, read Token[=====], line 1
> traceback()
8: stop(list(message = "java.io.IOException: keyword @relation expected, read Token[=====], line 1", 
       call = .jnew("weka/core/Instances", .jcast(reader, "java/io/Reader")), 
       jobj = <S4 object of class "jobjRef">))
7: .External(RcreateObject, class, ..., silent = silent)
6: .jnew("weka/core/Instances", .jcast(reader, "java/io/Reader"))
5: RWeka::read.arff(file)
4: arff.reader(f$datasplits.arff$path)
3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
2: suppressWarnings(arff.reader(f$datasplits.arff$path))
1: getOMLTask(task.id = 4788)

There appear to be similar problems in python.

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 reproducing getOMLTask(task.id = 4788) in R and inspect the cached task.xml, datasplits.arff, and dataset.arff files. Compare the similar Python failure and determine why the ARFF parser encounters '=====' instead of @relation; done means task 4788 downloads and parses successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.