An open API service indexing awesome lists of open source software.

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.

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.