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

BIRCH for Anomaly Detection with InfluxDB

Blog post from InfluxData

Post Details
Company
Date Published
Author
Anais Dotis-Georgiou
Word Count
1,336
Language
English
Hacker News Points
-
Summary

This tutorial uses the BIRCH (balanced iterative reducing and clustering using hierarchies) algorithm from scikit-learn with the ADTK (Anomaly Detection Tool Kit) package to detect anomalous CPU behavior in InfluxDB 2.0. The tutorial assumes that the user has InfluxDB and Telegraf installed and configured on their local machine to gather system stats. It uses the InfluxDB 2.0 Python Client to query data, transform it into a Pandas DataFrame, and then applies the ADTK MinClusterDetector function with the BIRCH algorithm to detect anomalies. The tutorial demonstrates how to visualize the detected anomalies using ADTK's plot function and provides insights on applying the ADTK package to continuous functions with InfluxDB.