Home / Companies / Tinybird / Blog / Post Details
Content Deep Dive

SQL and Python: alerts from predictions

Blog post from Tinybird

Post Details
Company
Date Published
Author
Alison Davey
Word Count
582
Company Posts That Month
51
Language
English
Hacker News Points
-
Post removed?
No
Summary

The blog post discusses using complex time-series models for anomaly detection in data, beyond simple statistical methods like z-scores. By employing Python libraries such as Prophet or statsmodels, users can predict control limits using pre-coded models without needing to build from scratch. The post provides an example using historic New York taxi trip data to forecast future data and generate alerts for anomalies. The process involves extracting time-series data, fitting a model, generating predictions, and creating a Data Source of these predictions in Tinybird. An alerts system is then set up using an API Endpoint to identify days with unexpected data, thus enabling real-time operational adjustments. This approach highlights the flexibility of integrating SQL-based analysis with advanced modeling techniques to enhance real-time data monitoring and anomaly detection.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 5 1,535 387 131 +14%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.