Introduction to Machine Learning for SEO
- Marketing and SEO implementations of entity and sentiment analysis
- Marketing and SEO implementations of ML Clustering
- Marketing and SEO Implementations of fuzzy matching
NEW: AI Search Optimisation and Agentic SEO Course by Beatrice Gamba -> Immediate start, on-demand learning for how to optimise for discovery in agentic search ✨ ✨
Search & SEO Concepts
In shortAssigning each keyword to the topic, cluster or page that should serve it, so your keyword research has a clear home and pages do not compete.
Keyword mapping is the process of assigning keywords to the topics, clusters or pages they belong to, so every query in your research has a clear home. MLforSEO uses it in two linked ways: mapping keywords to topics, to organise a keyword universe, and mapping groups of keywords to the pages or page types that should serve them.
MLforSEO’s guide to keyword-to-topic mapping compares four approaches, from lightweight to more robust:
Fuzzy matching and Sentence-BERT need a topic list from you (supervised mapping); k-means and BERTopic find structure without one (unsupervised). Use supervised mapping when you already have a taxonomy that mirrors your site, unsupervised when you don’t know the topics yet. Mature keyword programmes often run both: unsupervised first to discover topics, then supervised to map new keywords onto them.
Mapping topics to pages adds a SERP check. Keywords that Google answers with the same URLs usually belong on one page; keywords that share no ranking URLs almost always need separate pages, even when they look similar.
In the MLforSEO notebook, you upload one file of topics and one of keywords. The fuzzy matching version returns each keyword with its best-matching seed term and a match score; the Sentence-BERT version returns the closest topic and a similarity score. For the page level, the SERP analysis guide clusters keywords by shared URLs in the top 10, starting at a threshold of three shared URLs and tuning it by checking pairs by hand. In that data, the US and UK top 10 for the same English keyword shared no URLs at all, so each market needed its own check.