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.

lukmani666/nigeria-food-market-price-tracker

Domain:

agriculturesocioeconomic

Record type:

software
Creator:
luk
Host:
# πŸ›’ Smart Price Tracker for Food Markets (Nigeria) A production-ready machine learning application for predicting food prices in Nigerian markets using XGBoost and LSTM models. ## 🌟 Features - **🎯 Price Prediction**: Accurate food price predictions using state-of-the-art ML models - **πŸ—ΊοΈ Market Finder**: Discover markets with the lowest prices for specific commodities - **πŸ“Š Data Explorer**: Interactive visualization and analysis of market trends - **πŸ”„ Model Comparison**: Compare XGBoost and LSTM performance metrics - **πŸ“ Geographic Visualization**: Interactive maps showing market locations - **πŸ“ˆ Historical Analysis**: View price trends and patterns over time ## πŸš€ Quick Start ### 1. Install Dependencies ```bash pip install -r requirements.txt ``` ### 2. Train Models **Option A: Using Python Script (Recommended for production)** ```bash python run_training.py ``` **Option B: Using Jupyter Notebook (Recommended for exploration)** ```bash jupyter notebook model_training.ipynb ``` ### 3. Test Models (Optional) ```bash python test_prediction.py ``` ### 4. Run Application ```bash streamlit run app.py ``` The app will open at `localhost` ## πŸ“Š Models ### XGBoost Pipeline - Gradient Boosting with StandardScaler - LabelEncoder for categorical features - Optimized hyperparameters - Fast inference time ### LSTM Neural Network - 2-layer LSTM architecture - Dropout regularization - Early stopping - Captures temporal patterns ## πŸ“ Project Structure ``` β”œβ”€β”€ data/ β”‚ └── nigeria_food_dataset.parquet # Dataset (54,883 records) β”œβ”€β”€ models/ # Trained models (created after training) β”œβ”€β”€ model_training.ipynb # Interactive training notebook β”œβ”€β”€ run_training.py # Automated training script β”œβ”€β”€ test_prediction.py # Model testing script β”œβ”€β”€ app.py # Streamlit web application β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ P …

Visit

github.com

Licenses

MIT

Similar

Embiem-Agriccode/market-price-tracker-NigeriaThorXMarvin/market-price-trackersai045/agri-market-price-trackerRumsFc26/AFRICAN-MARKET-PRICE-TRACKERClint9991/kenya-food-price-trackerAsemota-otasowie/Nigeria-Food-Price-Tracker-Across-Geopolitical-Zones

Embiem-Agriccode/market-price-tracker-Nigeria

Right now in Nigeria, a farmer in Dutse has no idea what tomatoes are selling for in Kano or Lagos.

ThorXMarvin/market-price-tracker

AI agent that monitors commodity prices, forex rates & fuel prices across East Africa. Real-time ale

sai045/agri-market-price-tracker

Full-stack agricultural mandi tracker with admin price entry, Telugu master data, season and holiday

RumsFc26/AFRICAN-MARKET-PRICE-TRACKER

Clint9991/kenya-food-price-tracker

An AI-powered Early Warning System that analyzes WFP food price data to detect hunger hotspots in Ke

Asemota-otasowie/Nigeria-Food-Price-Tracker-Across-Geopolitical-Zones

A Data analytics project that explores food commodity prices and purchase volumes across major Niger