Skip to content

samleeney/Bayesian-Anomaly-Detection

Repository files navigation

Bayesian Anomaly Detection

A demonstration of Bayesian anomaly detection for robust parameter inference in the presence of outliers.

Overview

This repository demonstrates how Bayesian anomaly detection can automatically identify and mitigate the effects of outliers in scientific data analysis. The method uses a binary anomaly mask with Bernoulli priors and a piecewise likelihood that gracefully handles both normal and anomalous data points.

Files

Quick Start

Option 1: Jupyter Notebook

jupyter notebook demo_anomaly_detection.ipynb

Option 2: Python Script

python bayesian_anomaly_detection.py

Key References

Citation

If you use this code in your research, please cite:

@article{leeney2022bayesian,
  title={Bayesian approach to radio frequency interference mitigation},
  author={Leeney, Samuel and others},
  journal={arXiv preprint arXiv:2211.15448},
  year={2022}
}

About

Simple Bayesian anomaly detection example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •