openml / openml/OpenML

Support more characters in feature names

Open
#1,076 0 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

This dataset currently can not be processed. As far I can tell it is because in this version a city is represented as nominal (instead of string). This seems like an issue for the feature description xml. The particular violation it finds (first) is Bayamón (and ó is not basic latin). I presume some (or all) of this will be reworked when moving to parquet (see #388), but I figured I would document it is currently an issue.

Problem validating uploaded description file: XML does not correspond to XSD schema. Error Element '{http://openml.org/openml}nominal_value': [facet 'pattern'] The value 'Bayamón' is not accepted by the pattern '\p{IsBasicLatin}*'. on line 170 column 0. Error Element '{http://openml.org/openml}nominal_value': 'Bayamón' is not a valid value of the atomic type '{http://openml.org/openml}basic_latin256'. on line 170 column 0. 

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

Reproduce the upload validation failure with dataset 42725 and inspect the XML/XSD rule named basic_latin256, especially the nominal_value pattern. Determine the compatibility implications noted in #388, then verify that feature names such as Bayamón are accepted without breaking the existing description validation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.