CoolFace
Apppublic

Nur2712/agricultural-advisory-bangladesh

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes
App README

Agricultural Advisory System for Bangladesh

A comprehensive machine learning system providing all features in one unified interface:

  • โ€”๐ŸŒพ Crop Recommendations: Suggests optimal crops from 73 varieties based on environmental conditions
  • โ€”๐Ÿ“Š Yield Predictions: Predicts crop yields using trained Random Forest models
  • โ€”๐ŸŒค๏ธ Weather Integration: Real-time weather forecasts for 8 Bangladesh districts via Open-Meteo API
  • โ€”๐Ÿ”ฎ Unified Recommendation Engine: Combines weather data, crop recommendations, and yield predictions

Features

๐ŸŒพ Crop Recommendation

  • โ€”Get crop recommendations from 73 crop varieties
  • โ€”See top 5 recommendations with probability scores
  • โ€”Based on rainfall, temperature, humidity, and area

๐Ÿ“Š Yield Prediction

  • โ€”Accurate yield predictions in metric tons
  • โ€”Uses Random Forest models
  • โ€”Real-time calculations

๐ŸŒค๏ธ Weather Forecast

  • โ€”7-day weather forecasts for 8 Bangladesh districts
  • โ€”Temperature, precipitation, and humidity data
  • โ€”Real-time data from Open-Meteo API

๐Ÿ”ฎ Unified Advisory

  • โ€”Complete advisory combining all features
  • โ€”Weather data integration
  • โ€”Crop recommendations with yield predictions
  • โ€”One-stop solution for agricultural planning

Supported Districts

  • โ€”Dhaka
  • โ€”Chittagong
  • โ€”Sylhet
  • โ€”Rajshahi
  • โ€”Khulna
  • โ€”Barisal
  • โ€”Rangpur
  • โ€”Mymensingh

How to Use

  1. 1.Crop Recommendation Tab: Enter environmental conditions to get crop recommendations
  2. 2.Yield Prediction Tab: Enter conditions to predict crop yields
  3. 3.Weather Forecast Tab: Select district and get weather forecast
  4. 4.Unified Advisory Tab: Get complete advisory with all features combined

API Endpoints

  • โ€”GET / - Interactive web interface
  • โ€”POST /predict/crop - Get crop recommendation
  • โ€”POST /predict/yield - Predict crop yield
  • โ€”GET /weather/{district}?days=7 - Get weather forecast
  • โ€”POST /advisory - Get complete unified advisory
  • โ€”GET /status - Check model status
  • โ€”GET /health - Health check

Models

Models automatically loaded from: Nur2712/agricultural-advisory

Note

Models are trained on Bangladesh-specific agricultural data. Results may vary for other regions.