Last active
February 14, 2023 13:12
-
-
Save prabhant/3a02974a9f8e9c345580d54ffbc840f4 to your computer and use it in GitHub Desktop.
Get full trace from openml run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import openml | |
t = openml.runs.get_run_trace(10437679) | |
l = list() | |
for ts in t.trace_iterations.keys(): | |
d1 = t.trace_iterations[ts].__dict__ | |
d2 = t.trace_iterations[ts].get_parameters() | |
d1.pop('setup_string') | |
d3 = {**d1, **d2} | |
l.append(d3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment