Python API for OpenML
Maintained. Last release 22 months ago, commits in 8 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install openmlOpenML-Python
The Python API for a World of Data and More :dizzy:
OpenML-Python provides an easy-to-use and straightforward Python interface for OpenML, an online platform for open science collaboration in machine learning. It can download or upload data from OpenML, such as datasets and machine learning experiment results.
:joystick: Minimal Example
Use the following code to get the credit-g dataset:
import openml
dataset = openml.datasets.get_dataset("credit-g") # or by ID get_dataset(31)
X, y, categorical_indicator, attribute_names = dataset.get_data(target="class")
Get a task for supervised classification on credit-g: