FEERCI: A python package for EER confidence intervals
Project description
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.1.0
--------
- Initial release of package
License
=====
**FEERCI** is distributed under the MIT license
Version
=====
0.1.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::
eer,bootstrapped_eers,ci_lower,ci_upper = feerci.feerci(impostors,genuines,is_sorted=False)
Calculating an EER and 99% confidence interval::
eer,bootstrapped_eers,ci_lower,ci_upper = feerci.feerci(impostors,genuines,is_sorted=False,ci=.99)
Calculating an EER and 99% confidence interval on 1000 bootstrap iterations::
eer,bootstrapped_eers,ci_lower,ci_upper = feerci.feerci(impostors,genuines,is_sorted=False,m=1000,ci=.99)
******************************************
**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.1.0
--------
- Initial release of package
License
=====
**FEERCI** is distributed under the MIT license
Version
=====
0.1.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::
eer,bootstrapped_eers,ci_lower,ci_upper = feerci.feerci(impostors,genuines,is_sorted=False)
Calculating an EER and 99% confidence interval::
eer,bootstrapped_eers,ci_lower,ci_upper = feerci.feerci(impostors,genuines,is_sorted=False,ci=.99)
Calculating an EER and 99% confidence interval on 1000 bootstrap iterations::
eer,bootstrapped_eers,ci_lower,ci_upper = feerci.feerci(impostors,genuines,is_sorted=False,m=1000,ci=.99)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for feerci-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6643380b8da51f2ffd101af0063ec0139a19bd1c94261acb62f5cce54b34ae5b |
|
MD5 | a4b063aff2eab633d8d1123313165d4c |
|
BLAKE2b-256 | 931d32869324e6a7860f9edcd554ee7fa7e562ab6b2e5a258d117749ad9b302b |
Close
Hashes for feerci-0.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98098a0eea0de08a1d9736582fbe724e51f5fbea62847c9b179ca4a9e813fd0a |
|
MD5 | 4bd7070b9b48d337cdc8014903f24bed |
|
BLAKE2b-256 | 3d5ef9565ce48a6ab52602ce6459bfd75dae9d583b619a8170abcddb1b2fa0f8 |
Close
Hashes for feerci-0.1.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da35ad4870436ea1909a637c42584de7041258581d2695615f9c0f69c816e89f |
|
MD5 | 53ad81d6c5bc091b78e2b2f1c4079d05 |
|
BLAKE2b-256 | 5c8bbb5adabd1c34e068cc6e5e5534ebb803ee458a4066be450e002c71168cbf |