lir.datasets.alcohol_breath_analyser module

class lir.datasets.alcohol_breath_analyser.AlcoholBreathAnalyser(ill_calibrated: bool = False)[source]

Bases: DataProvider

Alcohol Breath Analyser example class.

Example from paper:

Peter Vergeer, Andrew van Es, Arent de Jongh, Ivo Alberink and Reinoud Stoel, Numerical likelihood ratios outputted by LR systems are often based on extrapolation: When to stop extrapolating? In: Science and Justice 56 (2016) 482–491.

Parameters:

ill_calibrated (bool) – Whether to load the intentionally ill-calibrated variant of the dataset.

get_instances() LLRData[source]

Provide LLR data for example system.

Returns:

Likelihood-ratio data produced by applying the LR system.

Return type:

LLRData