Anomaly detection in time series with Python | Data Science with Marco
Hands-on Anomaly Detection in Time Series Data using Python Methods
Learn three distinct Python methods—Robust Z-score, Isolation Forest, and Local Outlier Factor—to accurately identify rare, deviating events in your time series data.
Short Summary
- Understand why anomaly detection is crucial for monitoring system health and ensuring stable forecasting models.
- Implement a baseline Robust Z-score method tailored for non-normal data using the Median Absolute Deviation (MAD).
- Evaluate tree-based (Isolation Forest) and density-based (LOF) algorithms, comparing their success rates on real AWS CPU utilization data.
- The session moves between theoretical explanation and immediate code implementation in a Jupyter Notebook environment.
This lesson details the theoretical foundations and practical Python implementation for finding outliers in time series. Readers gain insight into method selection based on data characteristics, demonstrated by testing three techniques against labeled real-world CPU utilization metrics.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Related videos
Your Brain is a Time Machine, with Dean Buonomano
StarTalk
26.7k views
We Try Science Experiments Without Instructions
Good Mythical Morning
190.8k views
Master Python Requests In 15 Minutes. Call Any API
Tech With Tim
31.3k views
Build & Deploy a Python AI Agent in 20 Minutes
Tech With Tim
38.6k views
Build a Python AI Agent in 10 Minutes
Tech With Tim
84.2k views
How to Write Production Python Code
Tech With Tim
63.1k views
How to Build AI Agents in Python
Tech With Tim
46.7k views
How to Build a Production-Ready RAG AI Agent in Python (Step-by-Step)
Tech With Tim
77.8k views
How to Build an Advanced AI Agent with Search (LangGraph, Python, Bright Data & More)
Tech With Tim
44.4k views
Learn Pandas in 30 Minutes - Python Pandas Tutorial
Tech With Tim
166.6k views
Top Comments (10)
Thanks for this We Hope to make Some One For MultiVariate Time Series Anomaly Detection
Nice
Really nice intro to the subject, Marco! Thanks for the tutorial! I'll definitely recommend that to my students.
Very interesting content, thank you!
thank you very much . from Morocco
nice and clear
Hello, i want to create an ai in an mobile android app that is on device learning or realtime learning, like the owner trains the ai in realtime like how the owner swipes, app usage, and app transistions, then after the ai is 100% trained, the ai is ready for possbible intruder in the phone How should I do this?
Hello Marco, thank you so much for such a great video. Can you please make a video on anomaly detection for time series data using pycaret.
🎉 thank you a lot
Great video, thank you!
Unlock the Data Inside
Turn Videos into Knowledge
- Get FREE 10/day: transcripts, summaries, chats
- Chat with videos, export text & PDF
- $1 free API credit for RAG, chatbots & research
Free forever plan • All features unlocked
Top Comments (10)
Thanks for this We Hope to make Some One For MultiVariate Time Series Anomaly Detection
Nice
Really nice intro to the subject, Marco! Thanks for the tutorial! I'll definitely recommend that to my students.
Very interesting content, thank you!
thank you very much . from Morocco
nice and clear
Hello, i want to create an ai in an mobile android app that is on device learning or realtime learning, like the owner trains the ai in realtime like how the owner swipes, app usage, and app transistions, then after the ai is 100% trained, the ai is ready for possbible intruder in the phone How should I do this?
Hello Marco, thank you so much for such a great video. Can you please make a video on anomaly detection for time series data using pycaret.
🎉 thank you a lot
Great video, thank you!