Skip to content

Releases: NetherlandsForensicInstitute/lir

v1.3.2

02 Feb 09:57
Immutable release. Only release title and notes can be modified.
7b3f6bb

Choose a tag to compare

Summary (v1.3.1 -> v1.3.2)

Core

  • Broader refactor around LLRData and FeatureData, now used more consistently across bounders, KDE, calibrators, and experiments.
  • Updated LRSystem interface (removed name, generalised to InstanceData, aligned with Transformer).
  • Added Nbounder to registry and introduced data parameterisation.

Configuration & Experiments

  • jobs moved from YAML to CLI.
  • Experiment YAML: experiments is now a list.
  • Outputs and LR system configs now written to descriptively named folders.
  • Added intermediate_output, folder hyperparameter, and validation for illegal LR parameters.

Data & Parsers

  • CSV parsers renamed and improved (extra_fields, warnings, clearer debug CSV columns).
  • Added LLR consistency checks and fixed FeatureData indexing.

Algorithms & Components

  • Replaced AbsDiffTransformer with ElementWiseDifference.
  • Logit calibrator now uses FeatureData and added to registry.
  • KDE refactored for FeatureData/LLRData.
  • Plot improvements (plot_name, optional “after PAV” removal, y-range).
  • Removed calibrator_fit() plot.

Fixes

  • Fixed LLR concatenation with mismatched bounds, two-level LR parameter passing, and llr_bounds becoming None.
  • Multiple failing tests corrected; added extra checks in metrics and YAML handling.

Dependencies & Runtime

  • Removed pandas; moved requests to default deps.
  • Updated packages; Python 3.12 support.

Quality & Docs

  • Typing improvements, faster tests, expanded Ruff checks.
  • Migrated to Sphinx with extensive docstrings and new registry/guides docs.
  • General documentation and text improvements.

New contributor: @deflaaf

v1.3.1

06 Jan 16:00
Immutable release. Only release title and notes can be modified.
4988164

Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

06 Jan 13:32
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.3.0

v1.2.0

13 Nov 12:28

Choose a tag to compare

New features

  • implemented bootstrapping algorithm, adding confidence intervals for LLRs
  • plotting: LLR confidence interval plot, showing the interval as a function of the LLR
  • pipeline: pipelines can be used as modules/transformers
  • pipeline: pipelines can be replaced by any other module; this allows for using custom pipelines
  • pipeline: implemented debugging pipeline that writes intermediate results to a CSV file

Other changes

  • ELUB: use log10-base for LRs and step size; base range for threshold on dataset sizes
  • KDE: fix: kde should support 2d input arrays with one column (fixes #51)
  • pairing: update pairing methods to properly handle extra fields
  • package: removed dependency: xgboost (not actually used)
  • package: run tests on python 3.14

Full Changelog: v1.1.0...v1.2.0

Version 1.1.0

04 Nov 16:14

Choose a tag to compare

New features:

  • implemented LLR overestimation metric and plotting function;
  • implemented boostrapping algorithm: BootstrapAtData, and added an optional interval to LLR values;
  • improved PAV plots with labels and colours;

Breaking changes:

  • require python >= 3.11
  • metric functions, plotting functions, calibrators, etc. all use LLRs throughout the code;
  • lir command line script takes the experiment setup yaml file as a positional argument (was: --setup);
  • introduced data classes: FeatureData, LLRData and PairedFeatureData: the data classes make the data type more explicit and also do basic validation (was: tuple of ndarray);

v1.0.0: redesigned from scratch

22 Oct 09:36
b70989e

Choose a tag to compare

Redesign of lir

NB: The new release is not backwards compatible with the 0.0.x version releases of lir, as it might introduce breaking changes.

The original lir has been extended with several new modules, algorithms and strategies to devise LR systems.
New methods were added to evaluate LR systems.

The new version of lir provides a CLI command to run (a) given LR experiment(s).

Other changes

  • Switch from pip to PDM as package manager
  • Introduce pyproject.toml

Notes