Skip to content

Nominal features values #507

@PidgeyUsedGust

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

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