Twitter's Anomaly Detection in Pure Python
-
Updated
Mar 31, 2023 - Python
Twitter's Anomaly Detection in Pure Python
Different flavours of CUSUM for change point detection.
Calibrated simulation and detectors for MES-embedded carbon-intensity monitoring of energy anomalies in machining-style processes. Characterizes the adaptive-baseline inertia blind spot and proposes an event-anchored + residual-CUSUM detector that closes it. Reproducible: code, raw sweep data, and figure scripts.
Reproducible Python platform for methane-oriented sensor streams, statistical change detection, drift analysis, SQLite persistence, FastAPI, Docker, CI, and benchmark evaluation.
Low-Level Learning toolkit
Calibrated online CUSUM and EWMA change detection with held-out false-alarm audits
Quickest Change Detection for Unnormalized Statistical Models
Final model for the ADIA Lab Structural Break Challenge 2026: 23rd of 729 teams, solo, 66.01 points where guessing scores 50. Code, weights, tests and write-up.
Anomaly Detection in Sensor Data (LIT101) from Secure Water Treatment (SWaT) testbed . Demo of CUSUM and MLP methodologies.
Regime detection without religion — six algorithms (HMM, BOCPD, CUSUM, GMM, BinSeg, Ensemble), one harness, reproducible leaderboard.
NCIs Project 2024/25
Adversarial game-integrity system that detects rigged casino games and advantage players using sequential hypothesis testing (SPRT/CUSUM) and anomaly detection.
A robust Federated Learning framework implementing the novel FedCADS-UCB algorithm. Engineered for resilient client selection using CUSUM drift detection, adaptive multi-armed bandits, and hierarchical clustering to maintain high accuracy (>95%) during concept drift and label poisoning attacks.
Product and data specification for a fleet-cost calculator: problem framing, 181-field data model, synthetic data, CUSUM and LMDI reference methods, wireframes. FIAP Enterprise Challenge, Sprint 1.
Earned autonomy engine for dispute resolution agents using Gemma-4-31B-IT on AMD Token Factory, Bernoulli CUSUM drift demotion, and SHA-256 ledger auditing.
Statistical process control (SPC) library for Python: XmR and attribute control charts, rule engine, CUSUM and Pareto, following NHS Making Data Count.
Dynamic payment routing engine with sequential CUSUM anomaly detection, discrete Markov availability modeling, and idempotent cascading failover.
Streaming structural-break detection for the ADIA Lab Structural Break Challenge: Real-Time Edition (CrunchDAO). Per-series calibrated, whitened causal features + LightGBM, exported to a deterministic NumPy evaluator. Final rank #75, TS-AUC 0.6442.
Is your model getting dumber? Local, zero-dependency LLM drift tracker for Claude Code, Codex, Ollama and any OpenAI-compatible API. Rasch ability + CUSUM alarms + logprob fingerprinting.
To associate your repository with the cusum topic, visit your repo's landing page and select "manage topics."