lir.experiments.base_experiment module

class lir.experiments.base_experiment.Experiment(name: str, outputs: Sequence[Aggregation], output_path: Path)[source]

Bases: ABC

Representation of an experiment pipeline run for each provided LR system.

Parameters:
  • name (str) – Name used to identify this object in outputs and logs.

  • outputs (Sequence[Aggregation]) – Output aggregation definitions executed after each run.

  • output_path (Path) – Path where generated outputs are written.

run() None[source]

Run experiment the configured experiment(s).

This method ensures that all outputs are properly closed after the experiment run.