Skip to content

This project has been done as a partial fulfillment for the Specialization Project that had to be done during the 4th Trimester of our Masters course. My teammates, Bagyalakshmi, Nanditha and I have dedicated 3 months to building and completing this project.

Notifications You must be signed in to change notification settings

abhinavbammidi1401/Digital_Agrnonomy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Agronomy: Crop Recommendation System Using Machine Learning

Description: The Crop Recommendation System is a machine learning-based application that provides recommendations for suitable crops based on various environmental and soil conditions. It aims to assist farmers and agricultural professionals in making informed decisions about crop selection, optimizing yields, and maximizing profitability.

The system takes into account several factors such as soil type, climate, rainfall, temperature, humidity, and pH levels to determine the most suitable crops for a given region. By analyzing historical data and using predictive models, the system provides personalized recommendations tailored to the specific conditions of a farm or agricultural area.

Key Features

  • Input Data Collection: The system allows users to input relevant data such as soil parameters, climate information, and geographic location.
  • Data Preprocessing: The input data is preprocessed to handle missing values, normalize or scale features, and transform categorical variables.
  • Machine Learning Models: Various machine learning algorithms are employed, including decision trees, random forests, support vector machines (SVM), and gradient boosting techniques, to build predictive models.
  • Model Training and Evaluation: The models are trained on historical data and evaluated using appropriate performance metrics to ensure accuracy and reliability.
  • Crop Recommendation: Based on the trained models, the system recommends the most suitable crops for the given input parameters.
  • User-Friendly Interface: The system provides a user-friendly interface where users can easily input their data, view recommendations, and explore additional information.

Technologies Used

  • Python: Programming language used for model development, data preprocessing, and web application development.
  • Scikit-learn: Machine learning library used for model training, evaluation, and prediction.
  • Pandas: Data manipulation library used for data preprocessing and analysis.
  • NumPy: Library for numerical computing used for handling arrays and mathematical operations.
  • Flask: Web framework used for building the user interface and handling HTTP requests.
  • HTML/CSS: Markup and styling languages used for designing the web interface.
  • JavaScript: Scripting language used for client-side interactions and enhancing the user interface.

Installation and Usage

  • Clone the repository
git clone https://github.com/your-username/Digital_Agronomy
  • Install the required dependencies: pip install -r requirements.txt
pip install -r requirements.txt
  • Run the application: python app.py
cd Digital_Agronomy
python app.py

Important

If you are just cloning the repository and trying to run the code without any edits, it WILL NOT RUN. You have to complete the database setup and everyhting else that is required for the backend to run. The code is written to work with my setup, hence it won't run. And also don't forget to update the filepaths. That is probably the main thing that will throw errors if everything else is setup properly.

Future Enhancements

  • Integration of real-time weather data to improve the accuracy of recommendations.
  • Incorporation of crop market prices and profitability analysis to assist farmers in making economically viable decisions.
  • Development of a mobile application for convenient access and usage on smartphones and tablets.
  • Integration of user feedback and data collection to continuously enhance the recommendation system's performance.

Contributing

Contributions to the project are welcome. If you have any suggestions, bug reports, or feature requests, please submit them through the issue tracker on the GitHub repository.

Acknowledgements

We would like to express our gratitude to the agricultural research community, farmers, and organizations for providing valuable insights, data, and domain knowledge that contributed to the development of this system.

Authors/Publishers

Bagyalakshmi S Shinde, Nanditha S and Abhinav Bammidi

About

This project has been done as a partial fulfillment for the Specialization Project that had to be done during the 4th Trimester of our Masters course. My teammates, Bagyalakshmi, Nanditha and I have dedicated 3 months to building and completing this project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published