Giter VIP home page Giter VIP logo

deepeshdm / cropfusionai-backend Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 3.25 MB

FastAPI backend for CropFusionAI

Home Page: https://8080-797137136eb6451193a1f8c64a951490.onpatr.cloud/docs

Python 0.13% Jupyter Notebook 99.86% Procfile 0.01% Dockerfile 0.01%
python farming fastapi lightgbm-classifier machine-learning rest-api crop-recommendation deep-learning fertilizer-recommendation

cropfusionai-backend's Introduction

CropFusionAI Backend

This repo contains all the Backend services that support the CropFusionAI Frontend here.

It contains the following things :

  • Model Training Data
  • Model Training Notebooks
  • Trained ML models for Crop & Fertilizer Classification
  • Backend FastAPI services that exposes both models through REST API's.

๐Ÿ”ฅ API Docs ๐Ÿ‘‰ here

Code Examples

Below are some code examples you can utilize to send post requests to different endpoints with different payloads to make the most out of the ML models.

1] Crop Recommendation API

import requests
url = "https://8080-797137136eb6451193a1f8c64a951490.patr.cloud/crop_recommend"
payload = { "array": [55,44,33,40,75,6.5,300] }
response = requests.post(url, json=payload)
print(response.json())

2] Fertilizer Recommendation API

import requests
url = "https://8080-797137136eb6451193a1f8c64a951490.patr.cloud/fertilizer_recommend"
payload = { "array": [33,56,30,88,91,12,"Sandy","Cotton"] }
response = requests.post(url, json=payload)
print(response.json())

Links to Resources

  • Crop Recommendation Dataset here
  • Fertilizer Recommendation Dataset here

cropfusionai-backend's People

Contributors

deepeshdm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

deepeshdm2

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.