Plant Leaf Disease Classification and confedence Estimation using Neural Networks with Fuzzy Logic
The Model was trained and reported by Bilal Al Asha and the fuzzy logic code and report was done by mahdi alwis
Prerequisites
- Python – Version 3.11.9 or later 3.12.10
- pip – Python package installer
Setup Instructions
1. Download the Dataset
Download the dataset from the following link:
[https://www.kaggle.com/datasets/emmarex/plantdisease]
2. Remove Existing Dataset Files
Important: Before proceeding, delete any file with the same name as the dataset inside the main dataset folder when you get it.
Failure to do so will cause the model to memorize the data during training, leading to incorrect results.
3. Create and Activate a Virtual Environment
Open a terminal in the project root directory and run:
python -m venv venv
Activate the environment:a
OS Command Windows venv\Scripts\activate Linux source venv/bin/activate macOS source venv/bin/activate
Install Dependencies
pip install -r requirements.txt
Configure Jupyter Kernel (if using Jupyter Notebook)
f you plan to use Jupyter Notebook, make sure to select the newly created virtual environment as the kernel:
Open Jupyter Notebook
Go to Kernel → Change kernel
Select the kernel named after your virtual environment (e.g., venv)