openml / openml/OpenML

Add metadata for number of string features

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

Nobody has claimed this yet.

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

Description

Hi! OpenML is still awesome, thanks some more.

So I'm doin' the classification thing, using the Python client like so:

ds = get_dataset(373)
ds.get_data(target=ds.default_target_attribute, return_categorical_indicator=True)

But alas:

PyOpenMLError: Dataset not compatible, PyOpenML cannot handle string features

Which is fine, I can skip those datasets, but... it seems not by filtering on metadata. While there are metadata attributes for NumberOfNumericFeatures, NumberOfSymbolicFeatures, and NumberOfBinaryFeatures, strings get no love. ☹️

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 tracing how dataset metadata exposes NumberOfNumericFeatures, NumberOfSymbolicFeatures, and NumberOfBinaryFeatures, then inspect the Python client's get_data compatibility check for string features. Done means exposing a string-feature count in metadata so users can identify or filter incompatible datasets before calling get_data.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, python
Domain
data, machine-learning
Issue type
Feature
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.