8000 GitHub - ViratSrivastava/Agro-AI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ViratSrivastava/Agro-AI

Repository files navigation

Agro-AI

Agro-AI is a collection of machine learning models designed to provide crop and fertilizer recommendations. By leveraging supervised learning algorithms and training data, Agro-AI delivers precise and actionable insights for agricultural decision-making.

Features

  • Crop Recommendation Models

    • Algorithms Used:
      • Fuzzy C-Means (FCM)
      • Principal Component Regression (PCR)
      • Random Forest (RF)
      • Support Vector Regression (SVR)
  • Fertilizer Recommendation Models

    • Algorithms Used:
      • Linear Regression
      • Neural Networks
      • Random Forest (RF)
      • Support Vector Regression (SVR)

How It Works

Agro-AI takes various environmental, soil, and crop-specific input data to recommend:

  1. The most suitable crop to grow in a given condition.
  2. The best fertilizer for optimizing yield and maintaining soil health.

Input Data

  • Soil properties (pH, nutrients, etc.)
  • Climatic data (temperature, rainfall, etc.)
  • Crop-specific attributes

Output

  • Crop Recommendation: Suggested crops with suitability scores.
  • Fertilizer Recommendation: Recommended fertilizers tailored to the soil and crop requirements.

Installation

  1. Clone the repository:

    git clone https://github.com/ViratSrivastava/Agro-AI.git
    cd Agro-AI
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Prepare the data: Ensure the input data is formatted correctly according to the dataset structure.

  2. Run the model:

    • For crop recommendations:
      python crop_recommendation.py
    • For fertilizer recommendations:
      python fertilizer_recommendation.py
  3. Interpret Results: The models will output the recommended crop/fertilizer and associated metrics.

Algorithms Overview

  • Fuzzy C-Means (FCM): A clustering algorithm used to group similar data points for crop suitability.
  • Principal Component Regression (PCR): Reduces data dimensionality while maintaining prediction accuracy.
  • Random Forest (RF): A robust ensemble method for both classification and regression tasks.
  • Support Vector Regression (SVR): Utilizes hyperplanes for regression tasks.
  • Linear Regression: Predicts fertilizer requirements based on linear relationships.
  • Neural Networks: Captures complex patterns in data for fertilizer recommendations.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for review.

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-name
  3. Make your changes and commit them:
    git commit -m "Added a new feature"
  4. Push your changes:
    git push origin feature-name
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Author: Virat Srivastava
For questions, feel free to reach out or create an issue in the repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0