internalsGet Pro

Module 08 · Lesson 3 of 9Pro

Hierarchical, density and mixture-model clustering

Level
Intermediate
Topic
Unsupervised learning
Reading time
18 min

When you finish this page you can

  1. Build and read a dendrogram, and estimate the memory agglomerative clustering needs before you run it.
  2. Explain how DBSCAN and HDBSCAN find dense groups, mark noise and work without a k.
  3. Compute a Gaussian mixture’s soft assignment by hand, and pick its number of components with BIC.
  4. Choose between k-means, hierarchical, density and mixture-model clustering for a given dataset and use.

Builds on 4 lessons

Start with lesson 214 min
  1. k-means: grouping similar data points14 min
  2. The normal distribution: why it appears everywhere14 min
  3. Covariance matrices: how features move together16 min
  4. Maximum likelihood: fitting models to data17 min

k-means hid the 1,500 resellers

is our example online store. Joseph, who leads its growth team, wants customer segments: groups he can send different campaigns to. Farah, an ML engineer, works on a notebook sample of 200,000 customers. She describes each one by two standardized features: how often they order, and how big their basket is.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan