Skip to main content

A simple confusion matrix

Project description

Simple confusion matrix

Plot a simple confusion matrix using matplotlib

Example:

from plot_confusion_matrix import confusion_matrix
from matplotlib import pyplot

matrix = [[5, 2, 0],
		  [1, 2, 3],
		  [2, 1, 6]]

confusion_matrix(matrix)
pyplot.show(block=True)

Output:

Result

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

plot_confusion_matrix-0.0.1.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plot_confusion_matrix-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plot_confusion_matrix-0.0.1.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for plot_confusion_matrix-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c41ff747587b56a33df20332b71a64b4dce6ba8afd433e4939d63f0083841be7
MD5 9067be4ecd24f952c777e28106fd43dc
BLAKE2b-256 a0d2e1a1fbc8818d79fbafe67d1c7235241123aac2c255138ab70a19a19a0cbb

See more details on using hashes here.

File details

Details for the file plot_confusion_matrix-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for plot_confusion_matrix-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 301a29fd57fb227a5f4b8be688d5aad07cef3e9a955a5e8af782474a028632ba
MD5 c980d73886741c2b10f8ec38e4125152
BLAKE2b-256 68f3e8307762c9471a1510fc4c42ba377d1bb7adf52cf1a47338d0a054c85276

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