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

How to Scale K-Means Clustering with just ClickHouse SQL

Blog post from ClickHouse

Post Details
Company
Date Published
Author
Dale McDiarmid
Word Count
4,552
Company Posts That Month
14
Language
English
Hacker News Points
-
Post removed?
No
Summary

This article provides a detailed walkthrough on how to perform K-Means clustering using SQL queries with ClickHouse, an open-source columnar database management system. The author explains the theory behind K-Means clustering and demonstrates its implementation in SQL. They also discuss feature selection, choosing the optimal value of K, and visualizing the clusters formed. The article includes a sample dataset from NYC taxis and provides code snippets for performing various operations related to K-Means clustering. The author also compares the performance of their ClickHouse implementation with scikit-learn, a popular machine learning library in Python, on a larger dataset. Overall, this article is an excellent resource for anyone interested in implementing K-Means clustering using SQL queries and provides valuable insights into various aspects of the algorithm.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 1 2,613 257 91 +44%
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.