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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c41ff747587b56a33df20332b71a64b4dce6ba8afd433e4939d63f0083841be7
|
|
| MD5 |
9067be4ecd24f952c777e28106fd43dc
|
|
| BLAKE2b-256 |
a0d2e1a1fbc8818d79fbafe67d1c7235241123aac2c255138ab70a19a19a0cbb
|
File details
Details for the file plot_confusion_matrix-0.0.1-py3-none-any.whl.
File metadata
- Download URL: plot_confusion_matrix-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
301a29fd57fb227a5f4b8be688d5aad07cef3e9a955a5e8af782474a028632ba
|
|
| MD5 |
c980d73886741c2b10f8ec38e4125152
|
|
| BLAKE2b-256 |
68f3e8307762c9471a1510fc4c42ba377d1bb7adf52cf1a47338d0a054c85276
|