openml / openml/OpenML

"Could not validate run xml by xsd" error task 167125

Open
#690 15 comments 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 to run an scikit-learn model on task 167125, dataset 40978 (Internet-Advertisements) I get the error "Could not validate run xml by xsd". This happens for both flow 8317 and 8315, which work fine on other tasks.

Does anybody know why this happens and how I can fix it?

Traceback:

    run = openml.runs.run_model_on_task(task, classifier)
  File "/Users/hildeweerts/anaconda/lib/python3.6/site-packages/openml/runs/functions.py", line 40, in run_model_on_task
    flow_tags=flow_tags, seed=seed)
  File "/Users/hildeweerts/anaconda/lib/python3.6/site-packages/openml/runs/functions.py", line 84, in run_flow_on_task
    setup_id = setup_exists(flow_from_server, flow.model)
  File "/Users/hildeweerts/anaconda/lib/python3.6/site-packages/openml/setups/functions.py", line 52, in setup_exists
    file_elements=file_elements)
  File "/Users/hildeweerts/anaconda/lib/python3.6/site-packages/openml/_api_calls.py", line 52, in _perform_api_call
    file_elements=file_elements)
  File "/Users/hildeweerts/anaconda/lib/python3.6/site-packages/openml/_api_calls.py", line 98, in _read_url_files
    raise _parse_server_exception(response, url=url)
openml.exceptions.OpenMLServerException: Could not validate run xml by xsd.

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 with openml/runs/functions.py and follow the traceback through openml/setups/functions.py and openml/_api_calls.py. Reproduce the failure using task 167125, dataset 40978, and flow 8315 or 8317, then compare it with a task that succeeds. Done means identifying why the run XML fails XSD validation and documenting or fixing the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, scikit-learn
Domain
api, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.