Downloads · 30 days
0
Shakiran/MzeeChakulaNutritionEnsembleModel
MzeeChakulaNutritionEnsembleModel is a machine learning model from Shakiran. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as apache-2.0.
Graph Neural Network Ensemble for Elderly Nutrition Planning in Uganda
Downloads · 30 days
0
Access
Public
Updated Nov 20, 2025
Repo size
153 MB
Likes
0
Public
Click a slice to open those files.
.json107 MB · 84%
From the Hugging Face model README
Graph Neural Network Ensemble for Elderly Nutrition Planning in Uganda
Production-ready ensemble combining three Graph Neural Networks:
Performance:
from huggingface_hub import snapshot_download
import sys
# Download model
model_path = snapshot_download(repo_id="YOUR_USERNAME/mzeechakula-nutrition")
sys.path.append(model_path)
# Load and use
from nutrition_ensemble import NutritionEnsemble
ensemble = NutritionEnsemble(model_path)
recommendations = ensemble.recommend(user_id=0, top_k=10)
print(recommendations)
pip install torch numpy pandas huggingface_hub
from nutrition_ensemble import NutritionEnsemble
# Initialize
ensemble = NutritionEnsemble(".")
# Get top 10 recommendations
recs = ensemble.recommend(user_id=0, top_k=10)
print(recs)
# Exclude already consumed foods
recs = ensemble.recommend(
user_id=0,
top_k=10,
exclude_foods=[1, 2, 3] # Food IDs to exclude
)
Personalized nutrition recommendations for elderly populations in Uganda:
CPU (Intel i7):
GPU (NVIDIA T4):
.
├── nutrition_ensemble.py # Main model class
├── ensemble_config.json # Model configuration
├── requirements.txt # Dependencies
├── embeddings/ # Pre-computed embeddings
│ ├── crgn_embeddings.npy # 7.30 MB
│ ├── hetgnn_embeddings.npy # 0.73 MB
│ └── gat_embeddings.npy # 1.22 MB
└── examples/
└── quickstart.py # Usage examples
@software{mzeechakula2025,
title={MzeeChakula: Graph-Enhanced Nutrition Planning for Elderly in Uganda},
author={Nannyombi, Shakiran and Gatkuoth, Yul Lam},
year={2025},
institution={Makerere University},
supervisor={Ggaliwango, Marvin},
url={https://github.com/MzeeChakula}
}
Made for Uganda's elderly population 🇺🇬