This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Alert system branch tran #370
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
Implemented a comprehensive anomaly detection system for the Guardian Monitor alert system. This PR adds LSTM-based pattern recognition for patient vitals and behavioral data, with patient-specific threshold tuning and a real-time alert engine.
Key Features Added:
Developed LSTM neural network for time-series analysis of patient vitals and ADLs
Implemented patient-specific anomaly detection thresholds using percentile-based approach
Built real-time alerting engine with severity-based notifications for nursing staff and guardians
Added validation metrics system to track false positive/negative rates and timeliness
Technical Implementation:
Used TensorFlow/Keras for model development
Created data preprocessing pipeline for vitals and behavioral data
Implemented adaptive thresholding per patient based on historical patterns
Designed modular alert system with configurable notification rules
Todos
How to test
Data Preparation:
python DataGenerator.ipynb
Model Training:
python model_training.py
Test Anomaly Detection:
python test_anomaly_detection.py
Test Alert System:
python test_alert_system.py
View Metrics:
python generate_validation_report.py
Associated MS Planner Tasks
Known Issues
LSTM model may be computationally intensive for very long sequences, Requires minimum of 6 time points per patient for accurate predictions.