This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Health monitoring system #376
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR implements a comprehensive health monitoring system that combines LSTM autoencoders with machine learning classifiers for behavioral anomaly detection. The system provides multi-level risk assessment (Low/Medium/High) through temporal pattern analysis and real-time behavioral monitoring.
Key Features:
LSTM Autoencoder for detecting anomalies in time-series health data
Dual Classifier System (Random Forest + MLP) for behavioral pattern analysis
Threshold-based alert system for 7 key health metrics (sleep, steps, calories, etc.)
Multi-model risk integration combining temporal and behavioral assessments
Comprehensive CSV outputs including alerts dashboard and top risk cases
Todos
How to test
Run the notebook Alert_System.ipynb in Jupyter/Colab
Run all cells sequentially
Verify no errors occur
Associated MS Planner Tasks
Known Issues
Google Drive Mounting: Requires manual authentication when running in Colab
Large Models: Some model files (.keras, .pkl) are large (>100MB) - may need Git LFS
Memory Intensive: LSTM training requires significant RAM for large datasets
Feature Scaling: Behavioral thresholds may need calibration for different patient demographics