Skip to main content

EMP-Py

EMP Python Package repository, currently at version 2.0.4.

Functions for estimating EMP (Expected Maximum Profit Measure) in Credit Risk Scoring and Customer Churn Prediction, according to Verbraken et al (2013, 2014).

Installation

pip install EMP-PY

Usage

from EMP.metrics import empCreditScoring

scores = [0.34, 0.44, 0.67, 0.83]
classes = [0, 0, 1, 0]
k = 2

# By default will print and return output (no rounding)
empCreditScoring(scores, classes)

# Will only return output (no rounding)
empCreditScoring(scores, classes, print_output=False)

# Will only print output (no rounding)
empCreditScoring(scores, classes, return_output=False)

# Will print and return output with k decimal points
empCreditScoring(scores, classes, rounding=k)

The functions have been co-authored by Thomas Verbraken, Seppe van den Brucke and Cristián Bravo. Python translation by Emiliano Peñaloza and Alexander Hemming.

Metadata

Release files for EMP-PY 2.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EMP-PY 2.0.4
File Size Uploaded Provenance Actions
EMP-PY-2.0.4.tar.gz 18.1 kB Without provenance Details for EMP-PY-2.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for EMP-PY 2.0.4
File Interpreter ABI Platform Actions
EMP_PY-2.0.4-py3-none-any.whl Python 3 none any Details for EMP_PY-2.0.4-py3-none-any.whl

Total release size: 35.8 kB

Release files / EMP-PY-2.0.4.tar.gz

Download URL EMP-PY-2.0.4.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e28a0b764a6ee02767bf0188055e339b217a9f9a8a144f85e6ed776f8ba69393
BLAKE2b-256 checksum
How to use checksums
ffa4fdb75c7293a2b91bb8531e6457cea028c3683f8ef057e2e99b5b0df225aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.8.13

Release files / EMP_PY-2.0.4-py3-none-any.whl

Download URL EMP_PY-2.0.4-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6b83188bf72dd62ddd6342859c85eb84d1d42770072eb5cccaa170a7297bd85
BLAKE2b-256 checksum
How to use checksums
2dc302a9d85dd7538537daf864543ce8fcb6f2900832ae462c2b03a45c760704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.8.13

Security for EMP-PY 2.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page