10BC0 GitHub - feerci/feerci at dev
[go: up one dir, main page]

Skip to content
/ feerci Public

FEERCI: A Package for Fast non-parametric confidence intervals for Equal Error Rates

License

Notifications You must be signed in to change notification settings

feerci/feerci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
< 8FD2 /td>

Repository files navigation

FEERCI: A Package for Fast non-parametric confidence intervals for Equal Error Rates

FEERCI is an opinionated, easy-to-use package for calculating EERs and non-parametric confidence intervals efficiently. It offers a single method, feerci.feerci, that returns both an EER and CI for provided impostor and genuine scores. The only dependency is numpy.

Installation

pip install feerci

What's New

0.3.0

  • Feerci should now support python <= 3.10, rather than python <= 3.6
  • feer and feerci now include optional flag to return score threshold@eer.
  • Fixed bug in feerci that caused segfault when impostor and genuine score lists did not have any overlap

0.2.0

  • Switched output arguments around, to make more intuitive sense

0.1.0

  • Initial release of package

License

FEERCI is distributed under the MIT license

Version

0.3.0

Examples

Calculating just an EER:

import feerci
import numpy as np
impostors = np.random.rand(100)
genuines = np.random.rand(100)
eer,_,_,_ = feerci.feerci(impostors,genuines,is_sorted=False,m=-1)

Calculating an EER and 95% confidence interval (the default) on 10000 bootstrap iterations (the default):

eer,ci_lower,ci_upper,bootstrapped_eers = feerci.feerci(impostors,genuines,is_sorted=False)

Calculating an EER and 99% confidence interval on 10000 bootstrap iterations (the default):

eer,ci_lower,ci_upper,bootstrapped_eers = feerci.feerci(impostors,genuines,is_sorted=False,ci=.99)

Calculating an EER and 99% confidence interval on 1000 bootstrap iterations:

eer,ci_lower,ci_upper,bootstrapped_eers = feerci.feerci(impostors,genuines,is_sorted=False,m=1000,ci=.99)

FEERCI & FEER can both calculate the threshold @ the EER:

eer,ci_lower,ci_upper,bootstrapped_eers = feerci.feerci(impostors,genuines,is_sorted=False, return_threshold=True)

About

FEERCI: A Package for Fast non-parametric confidence intervals for Equal Error Rates

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0