openml / automlbenchmark

OpenML AutoML Benchmarking Framework
https://openml.github.io/automlbenchmark
MIT License
399 stars 132 forks source link

Remove autoxgboost, add `removed` field for frameworks #519

Closed PGijsbers closed 1 year ago

PGijsbers commented 1 year ago

PR does two things:

Addition of removed field

The aim was to provide users with a clear message of why the framework no longer runs, and a hint as to how they could possibly still run the no longer framework. I did not want to duplicate the messages, or introduces new files, so I added a removed property which can be looked up on frameworks.yaml even if no definition of the framework exists on the respective frameworks_tag.yaml file.

The new loading behavior is specifically, try to load the tagged version and then:

This allows us to disable individual tagged definitions (by adding a removed message in only the respective framework file), but also allows us to add a single removed message for all definitions (by removing it from all files, except frameworks.yaml, and providing the error message through that file).

I noticed the loading behavior can perhaps be refactored a little (as well as error messaging), but left it as separate work item (#518).

Removal of AutoXGBoost

Calling runbenchmark.py for any definition of autoxgboost now stops with the following error message:

ERROR:
Framework definition `autoxgboost` has been removed from the benchmark: Autoxgboost is no longer supported. The last confirmed working version was at v2.0.2 with docker image 'automlbenchmark/autoxgboost:908631665f4c763d548ed203d48f05fe68613844-v2.0.2'.