Algeria agroData Pipeline is ML model that tries to recommend or predict which is more suitable crop to plant in Algeria's soil with interactive dashboard.
# 🌱 Agro Data Pipeline & Crop Recommendation System
## 📌 Overview
This project is composed of **two main programs** that work together to:
1. **Collect agricultural data (weather + soil) for Algeria**
2. **Train a Machine Learning model to recommend crops**
3. **Visualize the results on an interactive map**
---
## 🧭 System Architecture Diagram
```
┌────────────────────────────┐
│ Kaggle Dataset Loader │
└────────────┬───────────────┘
│
▼
┌────────────────────────────┐
│ Training Dataset (CSV) │
└────────────┬───────────────┘
│
▼
┌────────────────────────────────────────────────────────────┐
│ MACHINE LEARNING PIPELINE │
│ │
│ Data Cleaning → Feature Engineering → Model Training │
│ → Evaluation → Prediction │
└────────────────────────────┬───────────────────────────────┘
│
▼
┌────────────────────────────┐
│ Crop Recommendation Model │
└────────────┬───────────────┘
│
▼
┌────────────────────────────────────────────────────────────┐
│ ASYNC DATA COLLECTION PIPELINE │
│ │
│ Grid → Weather Agent + Soil Agent → Merge Data │
│ → Algeria Dataset (CSV) │
└────────────────────────────┬───────────────────────────────┘
│
▼
┌────────────────────────────┐
│ Prediction + Map (Folium) │
└────────────┬───────────────┘
│
▼
┌────────────────────────────┐
│ Interactive Dashboard │
│ (Streamlit Visualization) │
└────────────────────────────┘
```
`
---
This project is composed of **three main programs** that work together to:
1. **Collect agricultural data (weather + soil) for Algeria**
2. **Train a Machine Learning model to recommend crops**
3. **Visualize and explore the results through an interactive map and dashboard**
The system follows a pipeline architecture:
```
Data Fetching → Data Cleani …