Skip to main content

LLR-Evaluation (llreval)

This is an authorized fork from PYLLR.

Python toolkit for likelihood-ratio calibration of binary classifiers.

The emphasis is on binary classifiers (for example speaker verification), where the output of the classifier is in the form of a well-calibrated log-likelihood-ratio (LLR). The tools include:

  • PAV and ROCCH score analysis.
  • DET curves and EER
  • DCF and minDCF
  • Bayes error-rate plots
  • Cllr

Most of the algorithms in LLR-Evaluation are Python translations of the older MATLAB BOSARIS Tookit. Descriptions of the algorithms are available in:

Niko Brümmer and Edward de Villiers, The BOSARIS Toolkit: Theory, Algorithms and Code for Surviving the New DCF, 2013.

Install

Install using pip

pip install llreval

Usage

import llreval

Out of a hundred trials, how many errors does your speaker verifier make?

We have included in the examples directory, some code that reproduces the plots in our paper:

Niko Brümmer, Luciana Ferrer and Albert Swart, "Out of a hundred trials, how many errors does your speaker verifier make?", 2011, https://arxiv.org/abs/2104.00732.

For instructions, go to the readme

Metadata

Release files for llreval 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llreval 0.0.3
File Size Uploaded
llreval-0.0.3.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llreval 0.0.3
File Interpreter ABI Platform
llreval-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / llreval-0.0.3.tar.gz

Download URL llreval-0.0.3.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b76d0b37f1d508fbdf1993a2f14bbb9cd66924eb60b3e9b0a0718b9c678279ad
BLAKE2b-256 checksum
How to use checksums
eeffa0ca6c3dacdc6b17ed3cf46d79d33c893399741067faac7e6cfb1c63360d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / llreval-0.0.3-py3-none-any.whl

Download URL llreval-0.0.3-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38777520213c4392f6331549410e457af16f34b5ca527b868198bc42c3f12c4c
BLAKE2b-256 checksum
How to use checksums
6332a5c55ed91a640db3fd926abd41f3e9382aba61603fc699b41a3ad91b4d5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page