Skip to content

A website that allows farmers to input their soil and location details and get a recommendation for the crop to grow and fertilizer to use, using machine learning models.

Notifications You must be signed in to change notification settings

aadilkhalifa/crop-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crop and Fertilizer recommendation

A website that allows farmers to get a crop and fertilizer recommendation based on their soil and location details using machine learning models.

Introduction

Agriculture, along with related sectors, is the largest source of livelihood in India. Machine learning can be an essential decision support tool for farmers providing recommended crops, fertilizers, and other practices based on collected data. Here, we have used machine learning models to predict the best crop and best fertilizers to be used based on the soil quality and location. We explored different machine learning algorithms and have performed an analysis. We have also integrated the models into a website where users can enter their soil details and get a crop and fertilizer recommendation.

Demo

Alt Text

Technologies

  • ReactJS
  • Flask
  • Python

Datasets used

APIs used

Architecture

drawing

Running the app

You need to first start the server

cd server
python server.py

This will start the server of localhost port 5000

You can now run the app on a separate terminal from the root directory

npm start

Results

Accuracy comparison of different Crop Recommendation models:

drawing

Accuracy comparison of different Fertilizer Recommendation models:

drawing

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

A website that allows farmers to input their soil and location details and get a recommendation for the crop to grow and fertilizer to use, using machine learning models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published