SkillAgentSearch skills...

ConfusionMatrix

Python program to visually represent Confusion Matrix for 2 and 3 Classes models

Install / Use

/learn @hackerstribefoundation/ConfusionMatrix
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Confusion Matrix Generator

This Python program visually represents the Confusion Matrix for 2 and 3 Classes models. This project is licensed under the MIT License - see the LICENSE file for details.

Steps

Option 1: Use the Website

You can use the provided HTML file to generate confusion matrices through a simple user interface.

  1. Download the website's HTML file (index.html).
  2. Open a terminal or command prompt.
  3. Navigate to the directory containing the HTML file.
  4. Run the command: python -m http.server
  5. Open your web browser and navigate to http://localhost:8000 to view the website.

Option 2: Download the Code

You can download the Python code and run it on your local machine.

  1. Download the Python code file.
  2. Run it on your laptop using Python by executing python calcConfusionMatrix.py in the command line.
  3. If you don't have Python installed, copy and run the code on any online Python IDE, such as Online Python.

Precision, Recall, and F1 scores are also calculated along with the confusion matrix being generated.

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated2y ago
Forks0

Languages

HTML

Security Score

70/100

Audited on Mar 4, 2024

No findings