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.
You can use the provided HTML file to generate confusion matrices through a simple user interface.
- Download the website's HTML file (
index.html
). - Open a terminal or command prompt.
- Navigate to the directory containing the HTML file.
- Run the command:
python -m http.server
- Open your web browser and navigate to
http://localhost:8000
to view the website.
You can download the Python code and run it on your local machine.
- Download the Python code file.
- Run it on your laptop using Python by executing
python calcConfusionMatrix.py
in the command line. - 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.