Skip to main content

Python implementation of Slope Error Rate (SER) by Arsalan Rahman Mirza.

Project description

Slope Error Rate (SER)

A Python implementation of Slope Error Rate (SER) a novel performance evaluation metric for binary classification, designed to provide improved sensitivity and robustness under class imbalance, particularly for biometric authentication systems.

Overview

Slope Error Rate (SER) is a distance-based evaluation metric that quantifies the trade-off between False Acceptance Rate (FAR) and False Rejection Rate (FRR) across decision thresholds. Unlike traditional metrics such as Equal Error Rate (EER), which rely on a single operating point, SER captures error dynamics and provides a more informative assessment of classifier behavior.

SER is especially useful in applications where:

Data is highly imbalanced False positives and false negatives have asymmetric costs Threshold sensitivity matters

A lower SER value indicates better overall performance.

Key Features Designed for binary classification Robust under class imbalance Threshold-sensitive evaluation Based on FAR and FRR geometry Lightweight and easy to integrate Suitable for biometrics, spoof detection, anomaly detection, and security systems

to install write

pip install slope-error-rate

to use write

from slope_er import ser result = ser(0.3, 0.7) print(result)

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

slope_er-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slope_er-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file slope_er-0.1.0.tar.gz.

File metadata

  • Download URL: slope_er-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.2

File hashes

Hashes for slope_er-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15430aad08a9c67dd30f5ef5478a6da6e0fbe0ca74075a14ac30e6593dd1fb95
MD5 2e518fb0d188cd8beeae8bd79e8a6fe9
BLAKE2b-256 db3035cb28c36fe5645a1b8f62b2289ba6df4f2a8b0ed494ad274cdebcd6679a

See more details on using hashes here.

File details

Details for the file slope_er-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: slope_er-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.2

File hashes

Hashes for slope_er-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 999f6304655307e70b8e41e649befff881fb6765398cdf84e1804e63978d382d
MD5 668c2e4fb42f9ebdd32975df17571f76
BLAKE2b-256 959c7e938979eec57154d7edad7887581a2121e130db03732430354f0091c544

See more details on using hashes here.

Supported by

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