This repository implements Bayesian Inference, Gaussian Processes, Kalman Filters, and Particle Filters for detecting and tracking temperature hotspots over time and space. The methods are applied to simulated sensor data to identify, estimate, and track hotspot dynamics.
- Bayesian Inference: Probabilistic hotspot detection using prior and likelihood models
- Gaussian Processes (GPR): 2D spatial temperature estimation with smooth interpolation
- Kalman Filters: Noise reduction and temporal tracking of hotspots
- Particle Filters: Probabilistic evolution of hotspots over time using Monte Carlo simulations
- Interactive plots, density plots, heatmaps, and time-series graphs for analysis and monitoring
-
Bayesian Inference
- Assumes hotspots are rare (prior belief)
- Updates posterior probabilities with sensor readings
- Identifies hotspots where posterior mean exceeds a threshold
-
Gaussian Process Regression (GPR)
- Models temperature field with RBF kernel
- Predicts temperature over a 2D grid
- Detects hotspots where predicted mean > 35°C
-
Kalman Filter
- Filters noisy time-series sensor data
- Estimates true temperature over time
- Tracks activation and evolution of hotspots
-
Particle Filter
- Simulates hotspot evolution probabilistically
- Resamples particles based on measurement likelihood
- Predicts future temperature states under uncertainty
- Density plots: Show probability distributions of temperature readings
- Heatmaps: Highlight hotspot locations and intensities
- Time-series graphs: Compare raw vs. filtered temperature data
![]() Bayesian Inference |
![]() Temperature Field Evolution |
![]() Detection Performance (ROC) |
![]() Real-time Monitoring Dashboard |
![]() Method Performance Comparison |
![]() Uncertainty Quantification |
- Can integrate real sensor data for live monitoring
- Extendable to multi-dimensional sensor networks
- Supports additional probabilistic or machine learning–based tracking methods
- Environmental monitoring and hotspot detection
- Sensor network data analysis
- Real-time anomaly detection in temperature fields
- Educational demonstrations of Bayesian and probabilistic filtering
Feel free to fork and contribute to improve models, visualizations, or performance!
MIT License. Free to use, modify, and distribute for academic and research purposes.





