Skip to content

frankhjung/article-anomaly-detection

Repository files navigation

Anomaly Detection

Anomalies are patterns in data that do not conform to a well-defined notion of normal behavior.

Techniques used to detect anomalies typically require training before being applied to new data.

This Jupyter Notebook reproduces the results from Oana Niculaescu's XRDS article: "Applying Data Science for Anomaly and Change Point Detection".

Features

  • Statistical anomaly detection methods
  • Change point detection algorithms
  • Data visualization with matplotlib
  • Reproducible analysis with Jupyter notebooks

Prerequisites

This project uses uv for Python package management.

Install uv:

curl -LsSf https://astral.sh/uv/install.sh | sh

Setup

Create a virtual environment and install dependencies:

uv sync

Activate the virtual environment:

source .venv/bin/activate  # On Linux/macOS
# or
.venv\Scripts\activate  # On Windows

Usage

Running the Notebook

Start Jupyter Notebook:

uv run jupyter notebook

Or use Jupyter Lab for a modern interface:

uv run jupyter lab

Then open anomaly-detection.ipynb in the browser.

Exporting Results

Export the notebook to HTML:

uv run jupyter nbconvert --execute --to html anomaly-detection.ipynb

Export to PDF (requires LaTeX):

uv run jupyter nbconvert --execute --to pdf anomaly-detection.ipynb

Export to LaTeX:

uv run jupyter nbconvert --execute --to latex anomaly-detection.ipynb

Resources

License

See LICENSE for details.

About

Jupyter Notebook Anomaly Detection and Change Point Detection - Reproduced

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors