GithubHelp home page GithubHelp logo

crop_determination's Introduction

Crop Recommender AI App by Arjyo Chakraborty

An innovative AI-tool to recommend crop based on farm's attributes

Table Of Contents

  • App Preview
  • Dataset Link
  • Business Problem
  • Machine Learning based Solution
  • Installation
  • Languages Used
  • Contact Me
  • License
  • Credits

App Preview

Cick Here

Dataset Link

Please click here

Business Problem

Precision agriculture is in trend nowadays. It helps the farmers to get informed decision about the farming strategy. Here, I present you a dataset which would allow the users to build a predictive model to recommend the most suitable crops to grow in a particular farm based on various parameters.

In this project, I'm going to show how to use data science and machine learning knowledge and skills to solve this problem.

Machine Learning based solution

  • First Step: I've imported the crop data set that has attributes about the farm/ soil and the most suitable crop for that particular sand or farm.

  • Second Step: I've analyzed the data by checking its data quality: missing values, outliers, data format, etc. After this, I've visualized the dataset to extract insights about the data.

  • Third Step: Data Pre-Processing.

  • Fourth Step: I've have then created two subsets from the orginal data set called:

    • X_train: Used to train the Machine Learning Models
    • X_test: Used to test the performance of the trained models
  • Fifth Step: Trained 2 Classifier Models using the best hyperparameters: Random Forest Classifier & XGBoost Classifier model. Checked the trained model's performance using the X_test set.

  • Sixth Step: Chose Random Forest Classifier as the best model based on its accuracy score and saved it in the pickle format using joblib.

  • Seventh Step: Created a front-end app using HTML and CSS and integrated the pickle file with the app using the flask framework.

Installation

The application is written in Python 3.7. If you don't have Python installed you can find it here. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository :-

pip install -r requirements.txt

Languages Used

Credits

Thanks to kaggle for providing this dataset.

crop_determination's People

Contributors

arjyo851 avatar

Watchers

 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.