Skip to main content

Python package for the log-likelihood-ratio

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llreval-0.0.3.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

llreval-0.0.3-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file llreval-0.0.3.tar.gz.

File metadata

  • Download URL: llreval-0.0.3.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for llreval-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b76d0b37f1d508fbdf1993a2f14bbb9cd66924eb60b3e9b0a0718b9c678279ad
MD5 4850a1d6a8d428f0f881b101798ba781
BLAKE2b-256 eeffa0ca6c3dacdc6b17ed3cf46d79d33c893399741067faac7e6cfb1c63360d

See more details on using hashes here.

File details

Details for the file llreval-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: llreval-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for llreval-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 38777520213c4392f6331549410e457af16f34b5ca527b868198bc42c3f12c4c
MD5 f57dba7339bed8c8d13a4890009b572c
BLAKE2b-256 6332a5c55ed91a640db3fd926abd41f3e9382aba61603fc699b41a3ad91b4d5b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page