https://github.com/ab007shetty/crop-management-system
The Crop Management System is a machine learning-based project designed to provide predictions and recommendations for farmers.
https://github.com/ab007shetty/crop-management-system
bootstrap4 crop-prediction crop-recommendation fertilizer-recommendation html-css-javascript machine-learning php rainfall-prediction responsive-web-design yield-prediction
Last synced: 3 days ago
JSON representation
The Crop Management System is a machine learning-based project designed to provide predictions and recommendations for farmers.
- Host: GitHub
- URL: https://github.com/ab007shetty/crop-management-system
- Owner: ab007shetty
- License: mit
- Created: 2023-03-24T02:36:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-22T12:39:43.000Z (10 months ago)
- Last Synced: 2025-08-22T14:45:54.414Z (10 months ago)
- Topics: bootstrap4, crop-prediction, crop-recommendation, fertilizer-recommendation, html-css-javascript, machine-learning, php, rainfall-prediction, responsive-web-design, yield-prediction
- Language: Jupyter Notebook
- Homepage:
- Size: 6.44 MB
- Stars: 26
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# πΎ Crop Management System
The **Crop Management System** is a simple and helpful tool built using **machine learning** to assist **farmers**. It gives smart suggestions for which crops to grow, what fertilizers to use, predicts rainfall, and estimates crop yield. This helps farmers make better decisions for their land and resources.
---
## π What Can This System Do?
* π± **Crop Prediction** β Suggests the best crops based on your location and season.
* πΎ **Crop Recommendation** β Recommends crops based on soil nutrients and weather.
* π **Fertilizer Recommendation** β Recommends the right fertilizers for your crop.
* β **Rainfall Prediction** β Predicts rainfall for a given region and year.
* π **Yield Prediction** β Predicts how much crop yield you can expect.
---
## π§° Technologies Used
* **Python** & **Machine Learning** (scikit-learn, pandas, numpy)
* **PHP** (for backend)
* **HTML/CSS** & **Bootstrap 4** (for frontend)
* **JavaScript**
---
## π¦ Installation Guide
Follow these steps to set up the project on your computer:
1. **Clone the Repository**
Open your terminal or command prompt and run:
```bash
git clone https://github.com/ab007shetty/crop-management-system.git
```
2. **Navigate into the Project Folder**
```bash
cd crop-management-system
```
3. **Install Required Python Libraries**
Make sure Python is installed, then run:
```bash
pip install -r requirements.txt
```
4. **Run Apache Web Server (for PHP Backend)**
* Download and install [XAMPP](https://www.apachefriends.org/index.html) if you donβt have it.
* Open XAMPP Control Panel and start **Apache**.
* Move the project to your `htdocs` folder (usually `C:\xampp\htdocs` on Windows).
---
## π Datasets Used
The system uses different datasets for each feature:
### β
Crop Prediction
* State, District, Season, Crop
### β
Crop Recommendation
* Soil nutrients (N, P, K), Temperature, Humidity, pH, Rainfall
### β
Fertilizer Recommendation
* Soil and crop details like Temperature, Soil Type, Moisture, Nutrients
### β
Rainfall Prediction
* Rainfall data by month, season, and year for various regions
### β
Yield Prediction
* State, District, Year, Crop, Area, and Production data
---
## π§ͺ How to Use Each Feature
* **Crop Prediction**
Enter: `State`, `District`, `Season`
β‘οΈ Get the most suitable crop to grow.
* **Crop Recommendation**
Enter: `N`, `P`, `K`, `Temperature`, `Humidity`, `pH`, `Rainfall`
β‘οΈ Get crop recommendations for your farm.
* **Fertilizer Recommendation**
Enter: `Temperature`, `Humidity`, `Soil Moisture`, `Soil Type`, `Crop Type`, `Nitrogen`, `Phosphorous`, `Potassium`
β‘οΈ Get a fertilizer suggestion.
* **Rainfall Prediction**
Enter: `Region (Subdivision)` and `Year`
β‘οΈ See rainfall prediction.
* **Yield Prediction**
Enter: `State`, `District`, `Year`, `Crop`, `Season`, `Area`, `Production`
β‘οΈ Predict expected yield.
---
## π₯ Contributors
* **AB Shetty**
* **ChatGPT 3.5 Turbo** (assisted with logic and code)
---
## π License
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
You are free to use, modify, and share it.