---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=clickhouse&tag=machine-learning"
---

# Posts

Filtered by topics: Machine learning, source: ClickHouse.

Posts 1–9 of 9, page 1 of 1, newest first.

## 2026-11-17

- [ClickHouse forecasting and anomaly detection with time series foundation models](https://swe.quest/articles/clickhouse-forecasting-and-anomaly-detection-with-time-series-foundation-models-71a24c218275d2ec.md): ClickHouse · 2026-11-17 · Medium · 11 min read · Analytics & OLAP, Machine learning, Inference & serving, SQL
  TimesFM 3.0, a pretrained time-series foundation model, can be called from ClickHouse SQL via executable Python UDFs that forward arrays to an HTTP model server, giving zero-shot forecasts and anomaly scores without per-series training.

## 2026-05-30

- [Executable UDFs are now in public beta on ClickHouse Cloud](https://swe.quest/articles/executable-udfs-are-now-in-public-beta-on-clickhouse-cloud-89bd8753f4dda600.md): ClickHouse · 2026-05-30 · Medium · 14 min read · Analytics & OLAP, Inference & serving, Machine learning, SQL, Python
  Executable UDFs are in public beta on ClickHouse Cloud: you upload a zipped Python function with its model files, and ClickHouse runs it in a pool of long-lived sandboxed processes that can be called from SQL, including inside materialized views.

## 2024-04-11

- [How to Scale K-Means Clustering with just ClickHouse SQL](https://swe.quest/articles/how-to-scale-k-means-clustering-with-just-clickhouse-sql-72a89ac76ba9cbb9.md): ClickHouse · 2024-04-11 · Medium · 21 min read · Analytics & OLAP, Machine learning, SQL, Performance engineering
  K-Means clustering can be implemented entirely in ClickHouse SQL by computing centroids incrementally with avgForEachState aggregate states stored in an AggregatingMergeTree table, fed by a Materialized View over a Null-engine table.

## 2024-04-03

- [Training Machine Learning Models with ClickHouse](https://swe.quest/articles/training-machine-learning-models-with-clickhouse-fff12f2958d1827c.md): ClickHouse · 2024-04-03 · Medium · 25 min read · ML platforms, Analytics & OLAP, Machine learning, Python
  ClickHouse can serve as both the transformation engine and offline store in a virtual feature store, using the open-source Featureform as an orchestration layer.

## 2024-01-18

- [Powering Feature Stores with ClickHouse](https://swe.quest/articles/powering-feature-stores-with-clickhouse-9d4db3ca1ba6f6e2.md): ClickHouse · 2024-01-18 · Easy · 17 min read · ML platforms, Analytics & OLAP, Machine learning
  Feature stores centralize the storage, versioning and retrieval of ML features so the same data serves both model training and inference.

## 2023-12-13

- [Linear Regression Using ClickHouse Machine Learning Functions](https://swe.quest/articles/linear-regression-using-clickhouse-machine-learning-functions-74857eccf0056a32.md): ClickHouse · 2023-12-13 · Medium · 7 min read · Machine learning, Analytics & OLAP, SQL, Maps & geospatial
  Delivery times can be predicted with a linear regression trained entirely inside ClickHouse using stochasticLinearRegressionState and evalMLMethod, with no Python or Spark involved.

## 2023-10-26

- [Forecasting Using ClickHouse Machine Learning Functions](https://swe.quest/articles/forecasting-using-clickhouse-machine-learning-functions-69c536e4a757b31c.md): ClickHouse · 2023-10-26 · Medium · 9 min read · Analytics & OLAP, Machine learning, SQL
  ClickHouse's built-in stochasticLinearRegression and evalMLMethod functions can fit and apply time-series forecasting models entirely in SQL, with no Python or R. Using monthly flight passenger data, a log-transformed target is regressed on a linear trend plus 12 month dummy variables, with no intercept to avoid the dummy variable trap.

## 2023-08-29

- [Analyzing Hugging Face datasets with ClickHouse](https://swe.quest/articles/analyzing-hugging-face-datasets-with-clickhouse-12e5d1b0f22de93c.md): ClickHouse · 2023-08-29 · Medium · 28 min read · Analytics & OLAP, SQL, Machine learning
  Hugging Face's Datasets Server automatically converts every dataset to Parquet and exposes the file URLs through a REST endpoint, so clickhouse-local can query any dataset with plain SQL via the url function and URL table engine.

## 2023-05-31

- [Vector Search with ClickHouse - Part 1](https://swe.quest/articles/vector-search-with-clickhouse-part-1-c538ccf9d6af206b.md): ClickHouse · 2023-05-31 · Easy · 14 min read · Vector search, Search, Machine learning
  Vector search replaces term-based inverted indexes, which use TF/IDF or BM25 scoring and can't capture meaning or handle vocabulary mismatch, with embeddings: arrays of floats where semantically similar text, images or audio sit close together under cosine or Euclidean distance.

Same list as RSS: [https://swe.quest/feed.xml?source=clickhouse&tag=machine-learning](https://swe.quest/feed.xml?source=clickhouse&tag=machine-learning). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
