How It Works
A transparent look into how data moves through AgriIntel to produce actionable insights for Rwanda's agri-SMEs.
The Core Pipelines
Market Matchmaker
Ingest
Collect buyer/seller listings, crop, quantity, and GPS coordinates.
Clean
Drop unused columns, median impute missing values, cap outliers at 95th percentile.
Model
k-nearest neighbours (haversine dist), filtered by crop, qty, and budget.
Output
Ranked list of best matches with WhatsApp contact links.
Farm Finance (ERP)
Ingest
User income and expense entries categorized by month.
Clean
Aggregate historical transactions into a monthly time series.
Model
Holt-Winters ETS grid search (trend/seasonal/damped) vs ARIMA baseline.
Output
12-month projection with a ±1.96σ confidence interval range.
Precision Insight Engine
Ingest
Satellite data (NASA POWER, MODIS, SMAP) and ground surveys.
Clean
Harmonise temporal and spatial resolutions across sources.
Model
LSTM for yield + Bayesian prior. SEIR model for pest transmission.
Output
Yield forecasts (kg/ha) and district-level Alert/Warning/Watch statuses.
Infrastructure Setup
The AgriIntel stack relies on a separation of concerns to ensure speed, security, and scalability.
- Replit + PostgreSQL: Hosts the web application, user interface, and securely stores user profiles and cached results.
- Databricks: Powers the heavy machine learning models, ingests satellite data, and runs scheduled inference jobs.
Data Governance
Private Data Protection
Private data remains secure. Never sent to public APIs unencrypted.
Model Versioning
Models are versioned in Databricks using MLflow.
Transparency
Known limits are clearly communicated.