Coder Social home page Coder Social logo

goagro's Introduction

GoAgro: Crop Recommendation System

GoAgro is a crop recommendation system that predicts the optimal crops to grow based on various environmental variables such as Nitrogen (N), Phosphorus (P), Potassium (K), temperature, humidity, pH, and rainfall. This project leverages machine learning algorithms to provide farmers and agricultural experts with actionable insights for improving crop yields.

Files in the Repository

  • Frontend: Contains the web interface for user interaction.
    • photos-and-videos: Directory for media assets.
    • index.html: Main landing page.
    • predict.html: Page for making predictions.
    • script.js: JavaScript file for client-side logic.
    • style.css: Main stylesheet.
    • style1.css: Additional stylesheet.
  • ML algo: Contains machine learning models and data processing scripts.
    • Data: Directory for datasets.
    • Optimum crops.ipynb: Jupyter notebook for model training and analysis.
    • crops.py: Python script for model inference.
  • ppt: Contains presentation files related to the project.
  • README.md: Project documentation.

Installation

To set up the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/subham-behera/GoAgro.git
    cd GoAgro
  2. Create and activate a virtual environment (optional but recommended):

    python3 -m venv venv
    source venv/bin/activate   # On Windows, use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt

Running the App

To run the application, follow these steps:

  1. Run the backend server:

    python ML\ algo/crops.py
  2. Open the frontend: Open Frontend/index.html in your web browser.

Features

  • Input Variables: Users can input values for N, P, K, temperature, humidity, pH, and rainfall.
  • Prediction: The system will predict the optimal crop to grow based on the input values.
  • User Interface: Intuitive web interface for easy interaction.

Usage

Once the app is running, you can input values for N, P, K, temperature, humidity, pH, and rainfall on the prediction page (predict.html) and get the recommended crop to grow.

goagro's People

Contributors

subham-behera 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.