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.3.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.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slope_er-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6e2d84b761466a134689325051732f47e5516e0135cf6e0fc6506b7b6957209e
MD5 ec0d2a739aa4d5f607b8f42e3f4a31d1
BLAKE2b-256 8f4b499af9ed625bd3ddd9880ac6614ddfd7da98340b8dd8fd0f1e1029d5c5bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slope_er-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5199fc38c4ea08e30a11611e6f08010e3aac809011bdfb2a27f5d714bab576c8
MD5 fb831084a378eed430e8555196ab95a2
BLAKE2b-256 6c839280a0de7533e9a1537b00f8112bc98f93f714bc603fe9377b5e80090824

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