API¶
Modules¶
openml.datasets
¶
Dataset Classes¶
|
Data Feature (a.k.a. |
|
Dataset object. |
Dataset Functions¶
Describe attributes of the dataframe according to ARFF specification. |
|
|
Check if the dataset ids provided are active. |
|
Create a dataset. |
|
Delete dataset with id dataset_id from the OpenML server. |
|
Download the OpenML dataset representation, optionally also download actual data file. |
|
Download datasets. |
Return a list of all dataset which are on OpenML. |
|
Return list of data qualities available. |
|
|
Updates the status of a dataset to either 'active' or 'deactivated'. |
|
Edits an OpenMLDataset. |
|
Creates a new dataset version, with the authenticated user as the new owner. |
openml.evaluations
¶
Evaluations Classes¶
|
Contains all meta-information about a run / evaluation combination, according to the evaluation/list function |
Evaluations Functions¶
|
List all run-evaluation pairs matching all of the given filters. |
Return list of evaluation measures available. |
|
|
List all run-evaluation pairs matching all of the given filters and their hyperparameter settings. |
openml.flows
: Flow Functions¶
Flow Classes¶
|
OpenML Flow. |
Flow Functions¶
|
Check equality of two flows. |
|
Delete flow with id flow_id from the OpenML server. |
|
Retrieves the flow id. |
|
Download the OpenML flow for a given flow ID. |
Return a list of all flows which are on OpenML. |
openml.runs
: Run Functions¶
Run Classes¶
|
OpenML Run: result of running a model on an OpenML dataset. |
Run Functions¶
|
Delete run with id run_id from the OpenML server. |
|
Gets run corresponding to run_id. |
|
Gets all runs in run_ids list. |
|
Get the optimization trace object for a given run id. |
|
Initialized a model based on a run_id (i.e., using the exact same parameter settings) |
|
Initialize a model based on the parameters that were set by an optimization procedure (i.e., using the exact same parameter settings) |
|
List all runs matching all of the given filters. |
|
Run the model on the dataset defined by the task. |
|
Run the model provided by the flow on the dataset defined by task. |
|
Checks whether a task/setup combination is already present on the server. |
openml.setups
: Setup Functions¶
Setup Classes¶
|
Parameter object (used in setup). |
|
Setup object (a.k.a. |
Setup Functions¶
|
Downloads the setup (configuration) description from OpenML |
|
Initialized a model based on a setup_id (i.e., using the exact same parameter settings) |
|
List all setups matching all of the given filters. |
|
Checks whether a hyperparameter configuration already exists on the server. |
openml.study
: Study Functions¶
Study Classes¶
|
An OpenMLBenchmarkSuite represents the OpenML concept of a suite (a collection of tasks). |
|
An OpenMLStudy represents the OpenML concept of a study (a collection of runs). |
Study Functions¶
|
Attaches a set of runs to a study. |
|
Attaches a set of tasks to a benchmarking suite. |
|
Creates an OpenML benchmark suite (collection of entity types, where the tasks are the linked entity) |
|
Creates an OpenML study (collection of data, tasks, flows, setups and run), where the runs are the main entity (collection consists of runs and all entities (flows, tasks, etc) that are related to these runs) |
|
Deletes a study from the OpenML server. |
|
Deletes a study from the OpenML server. |
|
Detaches a set of run ids from a study. |
|
Detaches a set of task ids from a suite. |
|
Retrieves all relevant information of an OpenML study from the server. |
|
Retrieves all relevant information of an OpenML benchmarking suite from the server. |
Return a list of all studies which are on OpenML. |
|
Return a list of all suites which are on OpenML. |
|
|
Updates the status of a study to either 'active' or 'deactivated'. |
|
Updates the status of a study to either 'active' or 'deactivated'. |
openml.tasks
: Task Functions¶
Task Classes¶
|
OpenML Classification object. |
|
OpenML Clustering object. |
|
OpenML Learning Curve object. |
|
OpenML Regression object. |
|
OpenML Split object. |
|
OpenML Supervised Classification object. |
|
OpenML Task object. |
|
Possible task types as defined in OpenML. |
Task Functions¶
|
Create a task based on different given attributes. |
|
Delete task with id task_id from the OpenML server. |
|
Download OpenML task for a given task ID. |
|
Download tasks. |
|
Return a number of tasks having the given tag and task_type |
Extensions¶
Extension Classes¶
Defines the interface to connect machine learning libraries to OpenML-Python. |
|
Connect scikit-learn to OpenML-Python. |
Extension Functions¶
|
Get an extension which can handle the given flow. |
|
Get an extension which can handle the given flow. |
|
Register an extension. |