Skip to main content

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. -Calculate True positive, true negative, false positive and false negative -Accuracy calculates the number of times classifier predicts correctly. -F1 score: Harmonic mean of precision and recall. -Precision: What % of predicted Positive aspects are actually Positive? -Recall: How many actual Positives are correctly classified? -False dicovery rate (FDR)

CHANGE LOG


0.0.1 (16/01/2022)

  • First Release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Cls_Evaluation-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: Cls_Evaluation-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 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 Cls_Evaluation-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b773708efbb9600b9028964f4cd77c96f7fb9e8d164d1995dc55d516b7c6cbe5
MD5 979e6b72a36a4f07ca80450d6cc9a8f7
BLAKE2b-256 882e3511466f5ea90086237528ce94b2d7d927be2362a95fb959da98c223a045

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 file

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