Skip to main content

toppred

Extension to sklearn.metrics to allow metrics for classifiers that output a top n prediction. Some classifiers output confidence levels for each class. Oftentimes, you want to evaluate the performance of such classifiers assuming the correct prediction is the top n predictions with the highest confidence level. This library serves as an extension to the functions provided by sklearn.metrics to allow for evaluating classifiers that do not output a single prediction per sample, but rather a range of top predictions per sample.

Installation

The most straightforward way of installing toppred is via pip:

pip3 install toppred

Documentation

We provide an extensive documentation including installation instructions and reference at toppred.readthedocs.io.

Release files for toppred 0.0.3

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

Source distribution (sdist)

Source distribution for toppred 0.0.3
File Size Uploaded
toppred-0.0.3.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for toppred 0.0.3
File Interpreter ABI Platform
toppred-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / toppred-0.0.3.tar.gz

Download URL toppred-0.0.3.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f5e4f5b059708b7e1a48e32752f19f22a410715846e61badb8d6c3d4cedebd85
BLAKE2b-256 checksum
How to use checksums
66fb85f7ee212091178bb102eeda0581ac50facbb9b54e8a391ceb6d48962126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / toppred-0.0.3-py3-none-any.whl

Download URL toppred-0.0.3-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cc1f582e58852bee323ed7bcb59d9936dc3834789ef3fab9c5318dc9947ad0b
BLAKE2b-256 checksum
How to use checksums
342b7c108a207c339dd44a1a33e930f45d4ad59feff0ac9317a790b291021b51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/5.0.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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