← Back to Portfolio

Social Isolation Detection System

ML & AI

AI-powered elderly care monitoring system detecting social isolation patterns using Isolation Forest anomaly detection with real-time alerts.

Social Isolation Detection System screenshot 1
Social Isolation Detection System screenshot 2
Social Isolation Detection System screenshot 3
Social Isolation Detection System screenshot 4

Overview

💡 Challenge

Social isolation among elderly residents in care facilities often goes unnoticed until serious mental/physical health consequences occur. Manual monitoring of 100+ residents is impossible, and subtle behavioral changes indicating isolation are easily missed.

⚡ Solution

Built an anomaly detection system using Isolation Forest algorithm analyzing 11 daily activity metrics (phone calls, visitors, activities, movement patterns) to automatically identify residents showing isolation patterns. Interactive dashboard provides real-time risk scoring (0-100) and alerts for care staff.

🎯 Impact

Enables early intervention for at-risk residents with automated daily monitoring. System identifies 41% of isolated residents and provides actionable alerts, reducing caregiver workload while improving resident wellbeing through timely intervention.

Technical Details

🛠️ Tech Stack

PythonScikit-learnIsolation ForestStreamlitPandasPlotlyMachine LearningAnomaly Detection

✨ Key Features

  • Isolation Forest anomaly detection with 11 activity features
  • Automated isolation risk scoring (0-100 scale) for 100 residents
  • Real-time dashboard with facility-wide monitoring
  • Individual resident tracking with 90-day timeline visualization
  • High-risk alert system (>70 score) for immediate intervention
  • Activity pattern analysis: phone calls, visitors, group activities
  • Behavioral trend detection showing gradual isolation over time
  • Feature importance analysis (visitors 19.6%, social time 15.1%)
  • Interactive date filtering and resident selection
  • Facility-wide trend analytics with aggregated metrics
  • Risk category breakdown (Low/Medium/High) with pie charts
  • Movement and sleep pattern monitoring
  • Premium UI with gradient designs and animated visualizations

Key Learnings

  • Isolation Forest excels at detecting gradual behavioral changes vs sudden anomalies
  • Anomaly detection achieves 53% accuracy - realistic for subtle patterns in complex human behavior
  • Visitors (19.6%) and social interaction time (15.1%) are strongest isolation predictors
  • Synthetic data generation requires realistic correlations between activities (low visitors → low social time)
  • Healthcare monitoring systems need actionable thresholds (score >70) not just predictions
  • Interactive dashboards must balance comprehensive data with caregiver time constraints
  • Feature engineering from temporal patterns (7-day trends) improves clinical usefulness

📊 Data Notes

This project uses synthetic/open data to demonstrate capabilities while maintaining privacy and confidentiality. All methods and approaches are applicable to real-world scenarios.