Nur2712/agricultural-advisory-bangladesh
0
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
- Crop Recommendation Tab: Enter environmental conditions to get crop recommendations
- Yield Prediction Tab: Enter conditions to predict crop yields
- Weather Forecast Tab: Select district and get weather forecast
- Unified Advisory Tab: Get complete advisory with all features combined
API Endpoints
GET /- Interactive web interfacePOST /predict/crop- Get crop recommendationPOST /predict/yield- Predict crop yieldGET /weather/{district}?days=7- Get weather forecastPOST /advisory- Get complete unified advisoryGET /status- Check model statusGET /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.
