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.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.2.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,ci_lower,ci_upper,bootstrapped_eers = feerci.feerci(impostors,genuines,is_sorted=False)
Calculating an EER and 99% confidence interval::
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** 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.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.2.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,ci_lower,ci_upper,bootstrapped_eers = feerci.feerci(impostors,genuines,is_sorted=False)
Calculating an EER and 99% confidence interval::
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)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file feerci-0.2.0-cp36-cp36m-manylinux1_x86_64.whl.
File metadata
- Download URL: feerci-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 395.2 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
951aa950b0a9ffd5f1fa6a80c8e729d3d5ba4396adbe5ab3565a6603dbe9ce71
|
|
| MD5 |
4f3152f5fe316c66f80366959cbae37e
|
|
| BLAKE2b-256 |
471bc0132a357944064d2740ffbc4ec1751a1644eaf9342135811441b365e5fe
|
File details
Details for the file feerci-0.2.0-cp35-cp35m-manylinux1_x86_64.whl.
File metadata
- Download URL: feerci-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 386.2 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b9f7c35409fc49c0e3304d398294fa7bf6711c63f5c348ea24453dfb02acf6f
|
|
| MD5 |
4061ee55e41dd5e626771beecaf09317
|
|
| BLAKE2b-256 |
3db9d22bdcf2928d297508e994de4a439bed4435cfdb6d846350364160c8541d
|
File details
Details for the file feerci-0.2.0-cp34-cp34m-manylinux1_x86_64.whl.
File metadata
- Download URL: feerci-0.2.0-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 388.9 kB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bc3548f5db50ef26a145b472193e5ada2d02fe5787ec63ef50a9d7f1d13ffcf
|
|
| MD5 |
78d464c4c9c6c556f24be848cc763f60
|
|
| BLAKE2b-256 |
8ee14e484559ddece0937b37b131580208efbfb3efc4015abf39c19a932cec70
|