Skip to main content

A package to plot AI/ML metrics at ease

Project description

vizmetrics

VizMetrics Library for AI Models

This is a library that provides tools to calculate various metrics for AI models, including accuracy, precision, recall, F1 score, ROC curve, and confusion matrix. It also includes functions to plot these metrics as graphs and figures.

Features

Calculates common metrics for AI models Plots ROC curves and confusion matrices Provides easy-to-use functions to display metrics and plots

Installation

To install the library, use pip:

pip install vizmetrics

Usage

Here is an example of how to use the library to calculate and plot metrics for a binary classification model:

python

import vizmetrics

# Generate some example data
y_true = [0, 1, 0, 1, 0, 0, 1, 1]
y_pred = [0, 1, 0, 0, 1, 0, 1, 1]

# Example
vizmetrics.plot_confusion_matrix(y_true, y_pred)
vizmetrics.accuracy_confusion_matrix_precision_recall_multiclass(y_true, y_pred)
sens_multicalss = vizmetrics.sensitivity_multiclass(y_true, y_pred)


## License
This library is licensed under the MIT License.

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

vizmetrics-0.0.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

vizmetrics-0.0.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vizmetrics-0.0.1.tar.gz
Algorithm Hash digest
SHA256 028fe6d8220522eb4b36ef258671813f57f1b1aed599127867374d23a2cbea05
MD5 7a3b36398fa5c46b27e0080ddb34242d
BLAKE2b-256 c0ae7cd239578aed7a872356a786371028886b113765e10d6d853dd105020a22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vizmetrics-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for vizmetrics-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1561677cbec1230347c6f9a9efd4e512ed0e18a38aa32f74a61af42cb4c0d81
MD5 4c1d1d704513d0b010eb26ad45980196
BLAKE2b-256 68bcd98093e5e11f2f9bb226b434f24c395dba0be5c2be1de710b38917006642

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