Introduction to Machine Learning for SEO
- Practical: Customer Segmentation with ML
- What is ML clustering?
- Marketing and SEO implementations of ML Clustering
ML Models & Algorithms
In shortClustering that builds a tree of nested groups by repeatedly merging or splitting clusters, shown as a dendrogram you can cut at any level.
Hierarchical clustering groups data into a tree of nested clusters instead of a single flat set. Small, very similar groups sit inside larger, looser ones, and the whole structure can be drawn as a dendrogram. You choose how many clusters you want afterwards by cutting the tree at a particular height, which makes it a natural fit for taxonomies and topic hierarchies.
There are two directions:
A linkage rule decides how the distance between two groups is measured: single linkage uses the closest pair of points, complete linkage the farthest, average linkage the mean, and Ward’s method merges whichever pair increases within-cluster variance least. The height of each join in the dendrogram shows how far apart the groups were when they merged.
You collect the top 10 URLs for 200 keywords and count, for every pair, how many URLs they share. Feeding that into agglomerative clustering gives a dendrogram. Cutting at “three or more shared URLs” groups keywords Google treats as the same topic, so they can share one page; keywords that only join higher up the tree are related but probably need separate pages.