Last active
August 22, 2019 11:52
-
-
Save rafaelnovello/ad79240fd3b2a85694bac51fbc305d14 to your computer and use it in GitHub Desktop.
Testing OpenML API
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 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