This project is a web application for predicting crop yield based on various factors such as state, district, season, crop type, and area.
-
Clone the repository: git clone https://github.com/MrityunjayNPandey/crop-yield-prediction.git
-
Install the required Python packages: cd backend pip install -r requirements.txt
-
Install the required JavaScript packages: cd frontend npm install
npm start
Use crop_production_karnataka.csv instead of crop_production_india.csv for demo purposes as computation takes too much time for crop_production_india. Also make sure to choose state Karnataka for this case.
Change it in backend/yield_prediction.py