Skip to content

voidcommit-afk/IBM_Z_REDDRAGON

Β 
Β 

Repository files navigation

🧬 AMR-Watch

Predictive AMR Risk Monitoring & Response Coordination Platform

Integrated with:


⭐ If you like what you see, do remember to star the repository!

Star Badge GitHub stars

Yt Demon Link: Click Here


🧭 Introduction

AMR-Watch Demo Video

AMR-Watch is a predictive public health monitoring platform that visualizes Antimicrobial Resistance (AMR) risk trends across regions and links real-time data to on-ground action

The platform combines machine learning predictions, geospatial visualization, and public health workflow automation to help municipal authorities and healthcare teams respond proactively to AMR risk hotspots.


Porject notebooks

# AMR-Watch Project


AMR-Watch Project/
β”‚
β”œβ”€β”€ πŸ“œ 1. chennai_wards_datamerging.ipynb
β”‚   β”‚
β”‚   └── 🎯 Purpose: Data Aggregation & Geospatial Unification
β”‚       β”œβ”€β”€ πŸ“‚ Inputs:
β”‚       β”‚   β”œβ”€β”€ πŸ“ KML files (Ward Boundaries, Flood Points, UPHCs)
β”‚       β”‚   β”œβ”€β”€ πŸ“Š Excel/CSV files (Census Data, Water Quality)
β”‚       β”‚   └── πŸ—ΊοΈ Shapefiles (Drainage Networks)
β”‚       β”‚
β”‚       β”œβ”€β”€ βš™οΈ Processes:
β”‚       β”‚   β”œβ”€β”€ Merges disparate geospatial and tabular datasets
β”‚       β”‚   β”œβ”€β”€ Cleans and standardizes ward names and IDs
β”‚       β”‚   β”œβ”€β”€ Aligns all data to a common geospatial framework (ward boundaries)
β”‚       β”‚   └── Computes initial features like population density
β”‚       β”‚
β”‚       └── πŸ“„ Output: A preliminary GeoPackage file with unified ward-level data
β”‚
β”œβ”€β”€ πŸ“œ 2. elevation_landcover_extract.ipynb
β”‚   β”‚
β”‚   └── 🎯 Purpose: Geospatial Feature Engineering
β”‚       β”œβ”€β”€ πŸ“‚ Input: The unified GeoPackage file from the previous step
β”‚       β”‚
β”‚       β”œβ”€β”€ βš™οΈ Processes:
β”‚       β”‚   β”œβ”€β”€ Extracts mean, min, and max elevation for each ward from a Digital Elevation Model (DEM)
β”‚       β”‚   β”œβ”€β”€ Calculates the percentage of different land cover types (e.g., urban, water, vegetation) within each ward
β”‚       β”‚   └── Enriches the ward data with these new environmental features
β”‚       β”‚
β”‚       └── πŸ“„ Output: An enriched GeoPackage file (f_data.gpkg) containing comprehensive geospatial and environmental features
β”‚
β”œβ”€β”€ πŸ“œ 3. AmrRisk_prediction.ipynb
β”‚   β”‚
β”‚   └── 🎯 Purpose: AMR Risk Score Calculation
β”‚       β”œβ”€β”€ πŸ“‚ Input: The enriched GeoPackage file (f_data.gpkg)
β”‚       β”‚
β”‚       β”œβ”€β”€ βš™οΈ Processes:
β”‚       β”‚   β”œβ”€β”€ Implements a weighted formula to calculate an AMR risk score for each ward
β”‚       β”‚   β”œβ”€β”€ Considers factors like microbial load, flood risk, heavy metal concentration, and health infrastructure
β”‚       β”‚   └── Assigns a final, quantifiable risk score to each ward
β”‚       β”‚
β”‚       └── πŸ“„ Output: The final GeoPackage (chennai_ward_amr_risk.gpkg) with an added AMR_risk_score column, ready for the backend server
β”‚
└── πŸ€– Modeling Branch (Utilizes data from the pipeline)
    β”‚
    β”œβ”€β”€ πŸ“œ 4. flood_prediction_model.ipynb
    β”‚   β”‚
    β”‚   └── 🎯 Purpose: Train Flood Prediction Model
    β”‚       β”œβ”€β”€ πŸ“‚ Inputs: Historical data on rainfall, temperature, humidity, river discharge, etc.
    β”‚       β”‚
    β”‚       β”œβ”€β”€ βš™οΈ Processes:
    β”‚       β”‚   β”œβ”€β”€ Preprocesses and cleans the historical flood dataset
    β”‚       β”‚   β”œβ”€β”€ Trains a machine learning model (e.g., XGBoost, RandomForest) to predict flood probability
    β”‚       β”‚   └── Serializes the trained model into a pickle file
    β”‚       β”‚
    β”‚       └── πŸ“„ Output: A trained model file (flood_batata.pkl)
    β”‚
    └── πŸ“œ 5. finetuned_vgg_diseasepred.ipynb
        β”‚
        └── 🎯 Purpose: Train Image-based Disease Classifier
            β”œβ”€β”€ πŸ“‚ Inputs: A labeled dataset of skin disease images (e.g., ringworm, eczema)
            β”‚
            β”œβ”€β”€ βš™οΈ Processes:
            β”‚   β”œβ”€β”€ Implements data augmentation to improve model robustness
            β”‚   β”œβ”€β”€ Utilizes transfer learning by fine-tuning a pre-trained VGG model on the specific disease dataset
            β”‚   └── Saves the trained model weights
            β”‚
            └── πŸ“„ Output: A trained deep learning model file for disease classification

🌍 Core Modules

Image

1️⃣ Map Layer Toggles for AMR Risk Scores πŸ—ΊοΈ

Interactive overlays let officials correlate AMR risk with key environmental and infrastructural factors.

Buttons: Flood_data

βš™οΈ Actions & Integration

Clicking a layer overlays infrastructure data over AMR hotspots.

Random Forest–based AMR risk score calculation.

🧠 Interpretation

The resulting AMR Risk Score provides a continuous numeric measure of relative antimicrobial resistance risk across Chennai’s wards. Higher values indicate greater risk due to microbial contamination, flood exposure, or environmental stressors; lower values represent better resilience and healthcare access.

🧾 Automated Task Creation

Clicking a high-risk zone triggers an automated workflow:

Task Title: New Infrastructure Task: [Ward Name]

Task Type: Auto-selected β€” AMR Risk Scores, Live Flood Prediction

Pre-filled Data: AMR risk score, coordinates, and causal factors from open sources.

Assignment: Dropdown list of municipal response teams.

Priority Selector: High / Medium / Low

βœ… This pipeline enables real-time decision support for flood-prone and infection-vulnerable communities.


3️⃣ Disease Classifier πŸ”¬

20251012-091159_TId2bAxK.mp4

Transforms field-level image data into verified, actionable reports.

Button: Upload Image

Actions & Integration:

  • Field officers upload microscopy images from mobile devices.
  • Model predicts disease, e.g.,

    β€œPredicted Disease: Ringworm, Confidence: 87%”

  • Clicking Log Suspected Case & Notify Officer
    • Auto-filled Data: Pathogen, confidence, timestamp, GPS.
    • User Inputs: Source, patient ID (anonymized), field notes.
    • Follow-up Flag: Checkbox for urgent epidemiological investigation.
    • Submit: Sends immediate alerts to regional health officers and logs the case to the epidemiological map.

Method:

  • Get pre trainer model on skin-diseases from hugging face.

  • Prepare custom dataset -> finetune

  • Model VGG16 + AutoEncoders

    • Accuracy: 93.4%.

    Image

    • Inputs: classes of own custom data.

    Image

    • Outputs: Disease-predicted with ai companion.

    Image

    4️⃣ Flood Prediction Model 🌐☁️

    🧾 Dataset Summary

Feature Missing Values
Latitude0
Longitude0
Rainfall (mm)0
Temperature (Β°C)0
Humidity (%)0
River Discharge (mΒ³/s)0
Water Level (m)0
Elevation (m)0
Land Cover0
Soil Type0
Population Density0
Infrastructure0
Historical Floods0
Flood Occurred0

βœ… No missing values detected across all features β€” dataset is clean and ready for model training.

Model Summary

  • RandomForest Regressor.
  • Accuracy - 95%.
  • Clicking on a region opens to plan preventive actions, such as deploying resources to high-risk zones or issuing public health advisories.

Live Data Integration

This module integrates real-time global weather data to provide predictive insights on environmental conditions that may influence AMR risk.

Image

Features & Integration:

  • Displays current global weather patterns using temperature, rainfall, and humidity overlays.

  • Highlights regions where extreme weather may contribute to AMR hotspots.

  • Openweather live data for all wards

    Elevation and Landcover Integration

    image

--

🧠 Tech Stack

Category Technologies
Frontend React+vite, Plotly, Folium
Backend Python, TensorFlow, Keras
Data Handling Pandas, NumPy
Visualization Matplotlib, Seaborn
Integration API, REST Endpoints
Deployment Docker

πŸ‘©β€πŸ’» Our Team

Image

πŸ† IBM Z Datathon 2025 β€” Project by Shooting Star Foundation

IBM Logo Β Β Β  Lovable Logo Β Β Β  Team Icon

Team Name: Shooting Star Foundation 🌠
Event: IBM Z Datathon 2025
Theme: Predictive AMR Surveillance and Public Health Response
Institution: [Your College / Organization Name Here]


πŸ’‘ Team Members

Name Role Focus Area
Ipsita Kar Skin Disease Integration and Github
Ganesh Data Engineer AMR Risk Model & Data Pipeline
Sanjeev UI/UX Developer Global Temperature & Integration
Sanjeev PPT API for Weather Prediction and PPT

🌟 Proudly developed by the Shooting Star Foundation during the IBM Z Datathon 2025!


πŸ“Š Features

βœ… Real-time AMR risk prediction
βœ… Layer-wise environmental correlation
βœ… Disease classification from field samples
βœ… End-to-end response tracking dashboard
βœ…Global Temperature and weather Alert System ( For Flood Prone areas showing Possibilities )


πŸš€ Future Enhancements

  • Integration with satellite rainfall prediction APIs
  • Improved explainable AI visualization for policy-level insights
  • Offline-first mobile interface for field data collection
  • API-based cross-regional health data exchange

⭐ Do remember to star the repository if you like what you see!

GitHub stars


🩺 Built with ❀️ to strengthen data-driven public health infrastructure.

About

project for IBM Z datathon 2025

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 91.3%
  • TypeScript 7.9%
  • Other 0.8%