Skip to content

hackerstribefoundation/ConfusionMatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published