lir package

LiR - Toolkit for developing, optimising and evaluating Likelihood Ratio (LR) systems.

This allows benchmarking of LR systems on different datasets, investigating impact of different sampling schemes or techniques, and doing case-based validation and computation of case LRs.

lir.is_interactive() bool[source]

Determine if the LiR tool is running from the CLI and should be interactive.

This method is used, for example, to determine if a progress bar should be shown.

Returns:

True when standard output is connected to a terminal, otherwise False.

Return type:

bool

Subpackages

Submodules