Skip to content

Nominal features values #507

Closed
Closed

Description

@PidgeyUsedGust

Description

The nominal_values field of a feature is left unpopulated, see here. The data seems to be available trough REST.

Steps/Code to Reproduce

Example:

import openml
dataset = openml.datasets.get_dataset(2)
print(dataset.features[0].nominal_values)

Expected Results

["GB","GK","GS","TN","ZA","ZF","ZH","ZM","ZS"]

Actual Results

None

Versions

Darwin-17.7.0-x86_64-i386-64bit
Python 3.6.5 (default, Apr  5 2018, 10:39:42) 
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
NumPy 1.14.2
SciPy 1.0.1
Scikit-Learn 0.19.2
OpenML 0.7.0

Activity

  1. janvanrijn commented on Aug 28, 2018

    @janvanrijn
    Member

    I recently added this field to the database. Any PR should also check whether there is an error in the dataset record (also newly displayed) as this can mean that the nominal features were not correctly retrieved

  2. maxcopeland commented on Aug 28, 2018

    @maxcopeland

    hi @janvanrijn, mind if I work on this?

  3. mfeurer commented on Mar 18, 2019

    @mfeurer
    Collaborator

    Functionality added in #644.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssues suitable for people new to contributing to openml-python!enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions