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.

ADEYEMIBolaji/african-foodstore-anomaly

Domain:

socioeconomic

Record type:

softwareproject
Creator:
ADE
Host:
# πŸ›’ African Foodstore Anomaly Detection App πŸ‡¬πŸ‡§πŸŒ This project builds a real-time anomaly detection system for a typical African Food Store's e-commerce data in the UK. It covers everything from data generation, model training, to a live Streamlit web app where users can upload their transactions and detect anomalies. --- ## πŸš€ Project Overview **Features:** - Generate synthetic African food e-commerce transactions - Train and compare three anomaly detection models: - Isolation Forest - AutoEncoder (Deep Learning) - One-Class SVM - Select and save the best performing model - Deploy a Streamlit app for real-time anomaly detection - Allow users to upload CSV files and download detected results --- ## 🌐 Live Demo You can try the deployed app here: πŸ‘‰ African Foodstore Anomaly Detection App --- ## πŸ— Project Structure ```bash african-foodstore-anomaly/ β”œβ”€β”€ app.py # Streamlit frontend β”œβ”€β”€ data/ # Synthetic dataset and test data β”‚ β”œβ”€β”€ ecommerce_data.csv β”‚ β”œβ”€β”€ test_data.csv β”‚ └── generate_data.py β”œβ”€β”€ models/ # Model training and saved models β”‚ β”œβ”€β”€ train_models.py β”‚ β”œβ”€β”€ best_model.pkl or best_model.h5 β”‚ β”œβ”€β”€ scaler.pkl β”œβ”€β”€ notebooks/ # EDA and preprocessing notebooks β”‚ β”œβ”€β”€ eda_preprocessing.ipynb β”‚ └── model_training.ipynb β”œβ”€β”€ requirements.txt # Project dependencies β”œβ”€β”€ README.md # Project documentation └── .gitignore ``` --- ## πŸ“¦ Tech Stack - **Python 3.12** - **Streamlit** - **Scikit-learn** - **Tensorflow / Keras** - **Pandas / Numpy** - **Matplotlib / Seaborn** - **Joblib** --- ## πŸ›  How to Run the Project Locally 1. **Clone the repository:** ```bash git clone github.com cd african-foodstore-anomaly ``` 2. **Create a virtual environment (optional but recommended):** ```bash python -m venv venv source venv/bin/activate # On Mac/Linux venv\Scripts\activate # On Windows ``` 3. **Install dependencies …

Visit

github.com

Similar

Lidar reveals activity anomaly of malaria vectors during pan-African eclipseANOMALY NETWORK DETECTION MODELNeonate Congenital Anomaly DatasetGabon: A Demographic AnomalyMastertactician23/transaction-anomaly-detectorMelissaMatindi/ndvi-anomaly-analysis

Lidar reveals activity anomaly of malaria vectors during pan-African eclipse

ANOMALY NETWORK DETECTION MODEL

ANOMALY NETWORK DETECTION MODELΒ 

Poster presented at the Deep Learning Indaba 2023 by NAKABUUKAΒ  REGINA DESIRE

Neonate Congenital Anomaly Dataset

Dataset of neonates diagnosed with congenital anomalies admitted to a NICU in northern Ghana. Matern

Gabon: A Demographic Anomaly

This paper investigates a number of the probable reasons for the demographic changes that have occur

Mastertactician23/transaction-anomaly-detector

Python-based financial transaction anomaly detection engine β€” 11 fraud rules mapped to East African

MelissaMatindi/ndvi-anomaly-analysis

🌍 A decade-long deep dive into Ethiopia’s vegetation health using NDVI anomalies in Google Earth Eng