Ensure all necessary files (Python script and input/output Excel files) are located in the same project directory. PROJECT_NAME/ ├── confusion_matrix_generator.py ├── input_file.xlsx └── ...