Skip to main content

Basic metrics for evaluating classification results

Project description

A confusion matrix is a summary of classification problem prediction results. The number of correct and incorrect predictions is summarized using count values and divided by class.

The function takes two arrays of same length and returns a list of four metrics i.e., TN, FP, FN, and TP By using confusion matrix we can calculate precision, recall, f1 score, FDR and accuracy.

CHANGE LOG


0.0.1 (16/01/2022)

  • First Release

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

summary_classification-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file summary_classification-0.0.1.tar.gz.

File metadata

  • Download URL: summary_classification-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.7.3 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.7

File hashes

Hashes for summary_classification-0.0.1.tar.gz
Algorithm Hash digest
SHA256 08ca856bd09f07cc045f40f53a5908405e172b7e08c2241d5260612965fafeb7
MD5 80eeb2a15bfdc75eabc6eed3dd606103
BLAKE2b-256 5b44dbd2a48ccb35bc526ddd63cb514f1f1e6d91116c2216c6709441049a7633

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