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 hashes)

Uploaded Source

Supported by

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