Report minimal evaluation results in run printout #1144
Labels
Good First Issue
Issues suitable for people new to contributing to openml-python!
Run
OpenML concept
Description
When doing print(run), the result is only some basic info like the task type ID. It shows no aggregated evaluation information. It would be nice if that could be added to the printout.
Alternatively, add a function that returns a dictionary with the local evaluation results.
If you currently run a run locally (not downloaded from OpenML),
run.evaluations
is None.run.fold_evaluations
, however, contains accuracy and runtime results, but in a very inconvenient format.Steps/Code to Reproduce
Expected Results
Some basic evaluation info. E.g. similar to what the R API returns:
Actual Results
Only some basic info
Partial solution
This returns the accuracy and runtime for a run (even if run only locally)
Versions
Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
Python 3.7.13 (default, Apr 24 2022, 01:04:09)
[GCC 7.5.0]
NumPy 1.21.6
SciPy 1.4.1
Scikit-Learn 1.0.2
OpenML 0.12.2
The text was updated successfully, but these errors were encountered: