Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

EphraimShikanga/agri-mtl-research

Domain:

agriculture

Record type:

project
Creator:
Eph
Host:
MTL Transformer research pipeline for Kenya crop recommendation system # Research — Kenya Agricultural MTL Transformer Research code for the Multi-Task Learning Transformer that powers the crop recommendation system. This folder contains everything needed to reproduce the data pipeline, model training, and analysis — separate from the production Django server (`neuro_symbolic_engine/`). ## Directory Structure ``` research/ ├── scripts/ │ ├── crop_metadata.py ← Shared constants (22 crops, harvest months, etc.) │ ├── data_acquisition/ │ │ └── download_weather_data.py ← NASA POWER weather data downloader │ ├── preprocessing/ │ │ ├── preprocess_food_prices.py ← Clean WFP food prices │ │ ├── preprocess_yield.py ← Filter FAO yield data to Kenya │ │ ├── preprocess_ag_production.py← Agricultural production preprocessing │ │ ├── add_confidence_weights.py ← Add confidence weights to yield data │ │ ├── build_weather_sequences.py ← 12-month sliding weather windows │ │ ├── build_price_sequences.py ← 12-month price windows + 6-month look-ahead │ │ ├── build_yield_outputs.py ← Yield baseline computation │ │ ├── build_training_forms.py ← Merge all datasets into training samples │ │ └── compute_reference_prices.py← National avg price sequences for inference │ └── model/ │ └── mtl_transformer.py ← Full model: architecture + training loop ├── notebooks/ │ ├── 01_data_exploration.ipynb ← EDA on raw datasets │ ├── 02_preprocessing.ipynb ← Interactive preprocessing walkthrough │ ├── 03_train_val_test_split.ipynb ← Train/val/test split │ └── 04_mtl_transformer_training.ipynb ← Model training (run on Colab GPU) ├── data/ │ ├── raw/ ← Original source datasets │ │ ├── Crop_recommendation.csv │ │ ├── yield_df.csv │ │ ├── wfp_food_prices_ken.csv │ │ ├── wfp_markets_ken.csv │ │ ├── kenya_weather_all_counties.csv │ │ ├── Kenyas_Agricultural_Production.xlsx │ │ └── weather_data/ …

Visit

github.com

Similar

2b2e/smoltalk-zulu-mtlDrYoung-II/agri-research-copilotAgri-AI-Assistant/Agri-AI-Tanzaniaeeffah-agri-iot/Agri-IoT-for-AfricaAtlas DCL CGIAR - Research Program on Dryland Cereals and Legumes Agri-Food Systems (DCL)sunnydev07/Agri-Voice

2b2e/smoltalk-zulu-mtl

This dataset card contains details for the Smoltalk-Zulu-Mtl isiZulu dataset. You can load a dataset

DrYoung-II/agri-research-copilot

A local Generative AI research assistant and RAG pipeline for Animal Science and Agriculture in Sub-

Agri-AI-Assistant/Agri-AI-Tanzania

AI-powered agricultural assistant designed to help Tanzanian farmers, agripreneurs, and agricultural

eeffah-agri-iot/Agri-IoT-for-Africa

# Agri-IoT-for-Africa DHT22 Setup sudo apt-get install git DHT22 configuration steps 1.wget ht

Atlas DCL CGIAR - Research Program on Dryland Cereals and Legumes Agri-Food Systems (DCL)

This Atlas is part of DCL’s effort to set research and development program priorities. The objective

sunnydev07/Agri-Voice

An AI-powered smart farming dashboard with voice assistant, crop disease scanner, real-time weather