Crop Recommendation system using Blended XGBoost and SVM machine learning models
- Predicts the most suitable crop to grow based on soil and environmental conditions.
- Utilizes a hybrid approach combining XGBoost and SVM for accurate predictions.
- Easy-to-use interface for farmers and agricultural experts.
- Clone the repository:
git clone https://github.com/Akhil-peram/Smart-Crop-Recommendation-System.git
- Navigate to the project directory:
cd Smart-Crop-Recommendation-System
- Install the required dependencies:
pip install -r requirements.txt
- Prepare your dataset with the required features (e.g., soil type, temperature, humidity).
- Run the main script to get crop recommendations:
python app.py
- Follow the prompts to input your data and receive recommendations.
The system uses a dataset containing information about soil conditions, weather parameters, and crop yields. Ensure your dataset is formatted correctly before use.
After installing the requirements, click "Run". Then, at the bottom, click on the running local server.
The user enters the Environmental details like Nitrogen, Phosphorous, Posttasium, pH of soil and submit.
These will be results of the crop recommendation, we are recommendting top five crops that can be grown on that soil which have the specitic attributes.
We have scraped the data fron the official website, which consists details , how each crop can be grown , what are the fertilizers has to be used, what must be the soil fertility and duration of the crop.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.