Benchmarks¶
With Algorithm Nexus you can add benchmark problems, instances, experiments, and submissions as separate artifacts.
- A benchmark problem is the abstract task.
- A benchmark instance is one concrete realisation of that task.
- A benchmark experiment is an
adoexperiment that evaluates a benchmark target (an algorithm or model). - A benchmark experiment package is a python package containing one or more benchmark experiments.
- A benchmark binding maps a benchmark experiment's property and metric names onto the problem's.
- A benchmark submission applies one benchmark experiment to one benchmark instance for one benchmark target.
Contribute a problem or instance¶
- I want to add a new benchmark problem:
- No pre-requisites. Go straight to contributing a benchmark problem
- I want to add a new benchmark instance:
- The benchmark problem class needs to be defined first. Contributing a benchmark problem and instance walks through both steps
Contribute a benchmark experiment or benchmark submission¶
- I want to add a new benchmark experiment:
- No pre-requisites. Go straight to contributing a benchmark experiment package
- I want to add a new submission
- The benchmark problem and instance must be already defined
- The benchmark experiment package with the benchmark experiment must be added
- There must be a binding from the benchmark experiment to the benchmark instance
- If all above are in place follow making a benchmark submission
Details¶
The following diagram shows the relationship between the benchmark pieces:
flowchart LR
problem[Problem]
binding[Binding]
instance[Instance]
experiment[Experiment]
submission[Submission]
problem --> instance
problem --> binding
experiment --> binding
experiment --> submission
instance --> submission
binding --> submission