Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.09 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.09 KB

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.