Skip to content

Instantly share code, notes, and snippets.

@prabhant
Last active February 14, 2023 13:12
Show Gist options
  • Save prabhant/3a02974a9f8e9c345580d54ffbc840f4 to your computer and use it in GitHub Desktop.
Save prabhant/3a02974a9f8e9c345580d54ffbc840f4 to your computer and use it in GitHub Desktop.
Get full trace from openml run
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