GithubHelp home page GithubHelp logo

krishnayadav210 / crop-recommendation-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from satyanaryana-merla/crop-recommendation-system

1.0 0.0 0.0 3.11 MB

India is an agricultural country as which is well known for agriculture in the world. Agriculture is major field in the world and it is also known as backbone of India. Most of the population and economy in India involved in agriculture. Farmers aware of traditional farming and unaware of climatic conditions influence the crop production and leads

Python 10.70% Swift 0.46% Jupyter Notebook 88.83%

crop-recommendation-system's Introduction

ML based Crop Recommendation App


Technical Description

This app uses a Dataset with 2200 Datapoins for Training and for Generating predictions.
Model used: Gaussian Naive Bayes
Accuracy: 99.54%


Run it on your Browser now! (New)


How to run on Local Machine

  • Download the Github Package from this repo and Unzip it anywhere.

  • Download and install Anaconda for Windows from this link or Jupyter for Windows from this link.

  • Open Jupyter Notebook and navigate to the Crop-Recommendation folder.

  • Launch a new Jupyter Terminal and type these commands

 pip install streamlit
 pip install pandas
 pip install scikit-learn
  • Now navigate to Crop-Recommendation folder using cd command in the terminal.

  • Type this command

    streamlit run app.py
  • Enjoy!

Inspiration

Many farmers are confused when making the choice before the sowing season. This app will help them with their choice and save them a lot of time and money.

What it does

It takes input about the Farmer's soil and tells them which Crop would be best for their soil type using ML prediction.

How we built it

We have used a dataset of 2200 entries and trained an ML model on it for making the predictions. We have then used Streamlit library to create a user-friendly and simple UI for anyone to use. It uses Jupyter environment to run.

Challenges we ran into

Finding the right dataset, Training the model for high accuracy, Hosting the model as a web-app.

Accomplishments that we're proud of

High Accuracy of our ML model (99.54% during validation). Custom UI elements on Streamlit web-app.

What we learned

Machine Learning, Using Streamlit for Hosting, Creating custom environment on Jupyter.


crop-recommendation-system's People

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.