Skip to main content

A python package with utilities to calculate Equal Error Values, operation points and to plot the probability error curves.

Project description

PyEER is a python package with utilities to calculate Equal Error Values, operation points and to plot the probability error curves.

Installing

pip install pyeer

Input file formats

On this epigraph the two different input file formats supported will be described.

Histogram format

Restrictions: Only integer scores are supported

File format: Each line contains the number of scores equals to the index of the line in the file (starting from zero). For example, given a file:

123
12
212
321

The above file example indicates that there are 123 scores equals to 0, 12 scores equals to 1, 212 scores equals to 2, 321 scores equals to 3 and so on.

Recommendations: Use this format for very large experiments.

Note: Only impostor scores file can mimic this format.

Non-Histogram format

Restrictions: None. Integer and float scores are both supported.

File format: All the scores one by line

Usage

console cmd: geteerinf

Examples:

To print the script help

python geteerinf -h

One experiment (Non-histogram format):

python geteerinf -p "example_files/non_hist/" -i "exp1_false" -g "exp1_true" -e "exp1"

More than one experiment (Non-histogram format):

python geteerinf -p "example_files/non_hist/" -i "exp1_false,exp2_false" -g "exp1_true,exp2_true" -e "exp1,exp2"

One experiment (Histogram format):

python geteerinf -p "example_files/hist/" -i "exp1_false" -g "exp1_true" -e "exp1" -ht

Note: To run the above examples you can download the example files from the project site on Gitlab or extract them from inside the package installation

Contributing

Do you find PyEER useful? You can collaborate with us:

Link Gitlab

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

pyeer-0.1.0.tar.gz (78.0 kB view hashes)

Uploaded Source

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