Skip to content

Instantly share code, notes, and snippets.

@rafaelnovello
Last active August 22, 2019 11:52
Show Gist options
  • Save rafaelnovello/ad79240fd3b2a85694bac51fbc305d14 to your computer and use it in GitHub Desktop.
Save rafaelnovello/ad79240fd3b2a85694bac51fbc305d14 to your computer and use it in GitHub Desktop.
Testing OpenML API
import openml as oml
tasks = oml.tasks.list_tasks(task_type_id=1, size=200)
print(len(tasks))
names = [v['source_data'] for _, v in tasks.items()]
print(len(set(names)))
results = oml.evaluations.list_evaluations('predictive_accuracy', size=100, task=[8])
print(len(results))
flows = [v.flow_name for _, v in results.items()]
print(len(set(flows)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment