Skip to content

The OpenML Vizier Converter is a Python library for connecting OpenML with Google Vizier.

Notifications You must be signed in to change notification settings

josvandervelde/OpenML-Vizier-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenML Vizier Converter

The OpenML Vizier Converter is a Python library for connecting OpenML with Google Vizier.

Prerequisites

Python 3.10+

Install

python3 -m venv venv
source venv/bin/activate
python3 -m pip install .

Usage

To test the conversion on all run ids:

python3 openMLVizierConverter

To use the convertor in your code:

import pandas as pd
from pathlib import Path

import converter

DIR_ROOT = Path(__file__).resolve().parents[1]
df_ids = pd.read_csv(DIR_ROOT / "data" / "runids.csv")
ids = set(df_ids['id'].unique())

for id_ in ids:
    try:
        study = converter.create_study_from_openml(id_)
    except:
        continue # 44 / 22359 runs will throw an error. These can be ignored.
    # do something with the study

About

The OpenML Vizier Converter is a Python library for connecting OpenML with Google Vizier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages