Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

Conversation

@AnNguyen87
Copy link
Collaborator

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

  • Tested and working locally with synthetic patient data
  • Code follows Python style guidelines (PEP 8)
  • I have performed a self-review of my code
  • Code changes documented
  • Requested review from >= 2 devs on the team (one frontend and one backend recommended)

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants