MLCM creates a 2D Multi-Label Confusion Matrix
Please read the following paper for more information:
M. Heydarian, T. Doyle, and R. Samavi, MLCM: Multi-Label Confusion Matrix,
IEEE Access, Feb. 2022, DOI: 10.1109/ACCESS.2022.3151048
For other projects please see https://biomedic.ai/
Please cite the paper if you are using the MLCM.
This work is licensed under a Creative Commons Attribution 4.0 License.
For more information, see https://creativecommons.org/licenses/by/4.0/
An example on how to use MLCM package:
% Importing libraries
from mlcm import mlcm
import numpy as np
% Creating random input (multi-label data)
number_of_samples = 1000
number_of_classes = 5
label_true = np.random.randint(2, size=(number_of_samples, number_of_classes))
label_pred = np.random.randint(2, size=(number_of_samples, number_of_classes))
% Calling mlcm and illustrating the results
conf_mat,normal_conf_mat = mlcm.cm(label_true,label_pred)
print('\nRaw confusion Matrix:')
print(conf_mat)
print('\nNormalized confusion Matrix (%):')
print(normal_conf_mat)
one_vs_rest = mlcm.stats(conf_mat)
Metadata
Release files for mlcm 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mlcm-0.0.1.tar.gz | 8.1 kB | Without provenance | Details for mlcm-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mlcm-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for mlcm-0.0.1-py3-none-any.whl |
Total release size: 16.8 kB
Release files / mlcm-0.0.1.tar.gz
| Download URL | mlcm-0.0.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa9bfa59b68d8861901bc44f18d341adda3ebe5da36ad901c9346a183fdfa0e8
|
|
BLAKE2b-256 checksum How to use checksums |
0af3d811922cd8d7428215957297167f7d474f0c3d171f9a46533b8d518e1320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.50.2 importlib-metadata/4.11.0 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
|
Release files / mlcm-0.0.1-py3-none-any.whl
| Download URL | mlcm-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d688c10b37506db6af011ecc968f6a8c05c0233083b8d9459e607a48916cbea
|
|
BLAKE2b-256 checksum How to use checksums |
b16aeb850191f38a973d705929dc055595c0fd27c071f53cad69d459b3b951bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.50.2 importlib-metadata/4.11.0 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
|
Security for mlcm 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.