Machine learning and AI automation for marketers, optimising for any search surface
Step-by-step tutorials, implementation guides and explainers, with the code, templates and data to apply them on your own site.
- Implementation guides
AI-Powered Backlink Strategy: A Practical Guide for 2026
Do links still matter in 2026? What Google, the research and AI search say, plus an AI-assisted backlink workflow tested on mlforseo.com's own profile.
Lazarina Stoy7 Nov 2026 · 13 min - Implementation guides
After the Backlink Audit: Ignore, Disavow, Reclaim or Pursue
Toxic backlinks, disavow, broken and lost links, mentions and prospects: a decision guide for what to do after a backlink audit, with…
Lazarina Stoy7 Nov 2026 · 13 min - Implementation guides
Score Backlink Quality in Python: DataForSEO, Embeddings and Claude
A free Python notebook that scores backlink quality with DataForSEO data, rule flags, embeddings and Claude. Real run on mlforseo.com: 288 domains,…
Lazarina Stoy7 Nov 2026 · 11 min - Implementation guides
Backlink Analysis with Claude and the DataForSEO MCP Server (No Code)
Connect Claude to the DataForSEO MCP server and analyse backlinks in plain English: setup, a real session on mlforseo.com, copyable prompts and…
Lazarina Stoy7 Nov 2026 · 11 min - Implementation guides
How to Do an AI-Powered Backlink Audit (Tools, Signals and Research)
What makes a backlink valuable, which audit tools measure what, and an AI-assisted backlink audit run on mlforseo.com's 288 referring domains.
Lazarina Stoy7 Nov 2026 · 12 min - Implementation guides
YouTube Tag Generator vs Keyword Research: A Free Python Notebook
A free Colab notebook that does the research a YouTube tag generator skips: autocomplete topics, what top videos use in titles and…
Lazarina Stoy24 Oct 2026 · 9 min - ML tutorials
The SEO Site Migration Checklist I Use (+ Redirect Mapping)
A seven-phase SEO site migration checklist with a free redirect mapping workbook that takes fuzzy-matching output and flags risky redirects before launch.
Lazarina Stoy24 Oct 2026 · 9 min - ML tutorials
Entity SEO: Is Google Reading Your Page the Way You Think?
A free notebook that checks whether your page's main entity is the most salient one in Google's Natural Language API, and how…
Lazarina Stoy24 Oct 2026 · 12 min - Implementation guides
How to Build a Topical Map with the EAV Model (Free Template)
How to build a topical map from an entity, its attributes and their values, with a free Google Sheets template that generates…
Lazarina Stoy24 Oct 2026 · 11 min - Implementation guides
Content Audit Template: Keep, Update, Merge or Prune Every Page
A free content audit template that joins your crawl, Search Console and GA4 data and suggests keep, update, merge, prune or redirect…
Lazarina Stoy24 Oct 2026 · 11 min - Implementation guides
Keyword Mapping: A Free Template and the Rules I Use
Keyword mapping is the step between clustering and content briefs. Here are the five rules I use and a free Google Sheets…
Lazarina Stoy24 Oct 2026 · 11 min - AI search optimisation
Generative Engine Optimisation Checklist: 44 GEO Checks for AI Search
A free 44-point GEO checklist in the order AI systems process content, from crawler access to citation tracking, with an evidence label…
Lazarina Stoy24 Oct 2026 · 11 min - AI search optimisation
GPTBot vs OAI-SearchBot: Which AI Crawlers to Block in robots.txt
Training bots, search bots and user fetchers do different jobs. Here's which AI crawlers to block, what each choice costs, and a…
Lazarina Stoy24 Oct 2026 · 11 min - AI search optimisation
Query Fan-Out Tool: Simulate AI Mode Sub-Queries and Check Coverage
Google says AI Mode fans your query out into many searches. Here's a free notebook that simulates the sub-queries and checks, passage…
Lazarina Stoy24 Oct 2026 · 12 min - Implementation guides
DataForSEO API in Python: Pull SERP Data with a Free Notebook
A beginner's walkthrough of the DataForSEO SERP API in Python: Live vs Standard mode, reading the response, keeping costs predictable, and what…
Lazarina Stoy24 Oct 2026 · 12 min - Implementation guides
Keyword Clustering: SERP-Based vs Semantic, and a Free Tool for Both
SERP-overlap and semantic keyword clustering see different things. Compare them on worked examples and use a free notebook that combines both into…
Lazarina Stoy24 Oct 2026 · 12 min - AI search optimisation
How to Track AI Overviews for Your Keywords (Free AI Overview Tracker)
Check which keywords trigger AI Overviews, which domains they cite, and your share of citations, then compare it with your rank tracker.…
Lazarina Stoy24 Oct 2026 · 11 min - Implementation guides
10 Ways to Automate Internal Linking with AI
Ten ways to automate internal linking with AI: orphan detection, clustering into hubs, embedding-based link suggestions, Search Console query opportunities, LLM anchor…
Lazarina Stoy22 Oct 2026 · 29 min - Implementation guides
10 Ways to Automate SERP Analysis with AI
Ten ways to automate SERP analysis with AI and Python: scheduled SERP API collection, LLM classification, entity and n-gram gaps, People Also…
Lazarina Stoy22 Oct 2026 · 28 min - AI search optimisation
Blog and Site Architecture for SEO and Conversions in the AI Search Era
How to structure your blog for readers, search engines and AI search: click depth vs URL depth, flat vs tree URLs, hubs…
Lazarina Stoy22 Oct 2026 · 42 min - AI search optimisation
Image SEO in 2026: The Complete Guide to Image Optimisation, Advanced Tactics and Multimodal Search
The complete 2026 guide to image SEO: file names, alt text, AVIF and WebP, lazy-loading and LCP, image sitemaps, structured data and…
Lazarina Stoy22 Oct 2026 · 46 min - Implementation guides
YouTube SEO: How to boost video visibility and grow your channel (free checklist)
Improve your YouTube SEO with repeatable systems for research, scripting, recording, uploading and promotion, plus a free 72-step YouTube SEO checklist. Updated…
Lazarina Stoy22 Oct 2026 · 18 min - Implementation guides
How to do a YouTube SEO Audit for improved organic search visibility (step-by-step guide)
Follow this step-by-step guide to a YouTube SEO audit: goals, competitor benchmarking (with a free YouTube Data API notebook), channel health, audience…
Lazarina Stoy22 Oct 2026 · 36 min - Implementation guides
Web Scraping of Page Content in 3 Easy Steps with Screaming Frog
Scrape page content into a spreadsheet with Screaming Frog custom extraction: copy a selector (or click it with Visual Custom Extraction), set…
Lazarina Stoy22 Oct 2026 · 10 min - Implementation guides
Structured Data Automation with Python: Detect, Generate and Validate JSON-LD at Scale
Stop typing schema by hand. Structured data is a standardised format for providing information about a page and classifying the page content.…
Lazarina Stoy22 Oct 2026 · 16 min - Implementation guides
The Ultimate Guide to the IndexNow API: Instant Indexing for Bing, Yandex and Other Search Engines (with Python)
Tell search engines about your changes the moment you make them. IndexNow is a website protocol, designed and maintained by Microsoft Bing…
Lazarina Stoy22 Oct 2026 · 20 min - Implementation guides
How to Build a Search Intent-First Website Architecture
A continuous improvement framework for planning your website architecture around search intent: KPIs, personas, page types, internal linking, and a free notebook…
Lazarina Stoy22 Oct 2026 · 26 min - ML tutorials
Sentiment Analysis: A Deep Dive Into the Theory, Methods, and Applications
The theory behind sentiment analysis (lexicons vs machine learning vs transformers), a tested benchmark, a no-code Google Sheets method and seven practical…
Lazarina Stoy22 Oct 2026 · 34 min - Implementation guides
The Ultimate Guide to PyTrends: the Google Trends API (with Python code examples)
PyTrends is the unofficial Google Trends API for Python. What you can pull, every method with updated 2026 code, how to handle…
Lazarina Stoy22 Oct 2026 · 22 min - Implementation guides
How to Automatically Generate Meta Descriptions with Python: From BERT to LLMs
Generate meta descriptions in bulk with Python: the original BERT extractive method (fixed and explained), plus embeddings, small open LLMs and LLM…
Lazarina Stoy22 Oct 2026 · 22 min - AI search optimisation
Dark AI traffic: why 70% of your AI influence hides as direct
The AI referral line in your analytics is not small because AI is not sending traffic. It is small because most of…
Beatrice Gamba21 Aug 2026 · 9 min - AI search optimisation
Your audience is no longer only human
The search web asked to be found and read. The agentic web asks to be chosen and acted upon. Those are different…
Beatrice Gamba19 Aug 2026 · 8 min - AI search optimisation
Consistency beats completeness: schema for machines, not results
Most structured-data advice optimises for rich results. Agents do not care about rich results. Let's look at what they read, and the…
Beatrice Gamba17 Aug 2026 · 7 min - AI search optimisation
Trust isn’t a schema field: how machines decide to believe you
You cannot declare that you are credible in markup. A retrieval system infers it from signals it collects about you across the…
Beatrice Gamba14 Aug 2026 · 7 min - AI search optimisation
Your robots.txt might be the silent killer of your AI traffic
Agents do not throw errors when your site defeats them. They just leave, and your analytics record a bored human. Let's look…
Beatrice Gamba12 Aug 2026 · 8 min - AI search optimisation
Vagueness is a disqualifier: the three-property sentence test
A page can rank, read well, and still be useless to an AI answer engine. The reason is usually at the sentence…
Beatrice Gamba5 Aug 2026 · 8 min - AI search optimisation
The chunk, not the page: content an AI can actually extract
The page is read by humans. The chunk is retrieved by machines. And a page that works perfectly for a human reader…
Beatrice Gamba5 Aug 2026 · 8 min - AI search optimisation
Your rank tracker is lying to you about AI search
Your positions can be green while AI never cites you. That is not a coverage gap in your tools. It is a…
Beatrice Gamba3 Aug 2026 · 8 min - ML tutorials
Topic Modelling for SEO with LDA (Latent Dirichlet Allocation)
LDA is the classic that taught search to think in themes, not links. What topic modelling is, how LDA works, what the…
Lazarina Stoy1 Aug 2026 · 22 min - ML tutorials
What Machine Learning Clustering Is, and Where It Fits in SEO
Classification is where you bring the categories. Clustering is where you let the data tell you what the categories should be. Here…
Lazarina Stoy1 Aug 2026 · 10 min - ML tutorials
What Entity Extraction Is, and Where It Fits in SEO
Search engines and LLMs do not read keywords, they read entities. Here is what entity extraction is, how entities differ from keywords,…
Lazarina Stoy1 Aug 2026 · 27 min - ML tutorials
Semantic Analysis of Customer Reviews with Machine Learning
Reviews are a goldmine of what customers love and hate, in their own words. Here is how to mine them at scale,…
Lazarina Stoy1 Aug 2026 · 7 min - ML tutorials
Comparing NLP APIs for Entity and Sentiment Analysis (vs Generative AI)
"Just use ChatGPT" is the wrong answer for entity analysis. An experiment comparing Google Cloud, Amazon, IBM and the chatbots, and why…
Lazarina Stoy1 Aug 2026 · 22 min - ML tutorials
What Fuzzy Matching Is, and Where It Fits in SEO
So many SEO jobs are really "are these two strings the same, more or less?" Here is what fuzzy matching is, the…
Lazarina Stoy1 Aug 2026 · 29 min - ML tutorials
Topic Modelling for SEO with BERTopic
BERTopic is the modern, embedding-based successor to LDA. What it is, tested 2026 code, how it compares, its honest benefits and limitations,…
Lazarina Stoy1 Aug 2026 · 19 min - Implementation guides
Search-Intent Classification with Machine Learning: The Approaches Explained
Search intent is the thing every SEO optimises for and almost nobody classifies systematically. Here are the three families of ML approaches,…
Lazarina Stoy1 Aug 2026 · 15 min - ML tutorials
What Machine Learning Classification Is, and Where It Fits in SEO
Classification is the quiet workhorse of machine learning in SEO, behind topic tagging, sentiment, content moderation and intent scoring. Here is what…
Lazarina Stoy31 Jul 2026 · 11 min - Implementation guides
How to Find Machine-Learning-Enabled Automation in Your SEO Workflow
You do not need one magic script that does everything. You need a repeatable habit of spotting small automatable tasks. Here is…
Lazarina Stoy31 Jul 2026 · 6 min - ML fundamentals
The Characteristics of a Machine Learning Problem: A Task, Data and Solution Framework for SEOs
Before you build anything with machine learning, you need to know whether a task is even an ML problem. Here is the…
Lazarina Stoy31 Jul 2026 · 15 min - AI search optimisation
How modern search actually works: the five-stage retrieval funnel
Before an AI answer engine writes one word, it has already thrown away almost everything. If you do not know where in…
Beatrice Gamba30 Jul 2026 · 8 min - AI search optimisation
Indexed is not selected: your AI search problem isn’t ranking
Agentic systems decide whether your content is used before anyone sees an answer. Ranking measures the wrong thing. The distinction that reorganises…
Beatrice Gamba30 Jul 2026 · 8 min - Knowledge graphs
The Three-Tier Entity Prioritisation Framework: Where to Start When You Can’t Do Everything
Most brands have more entities than they can realistically optimise simultaneously. The three-tier prioritisation framework gives you a defensible way to decide…
Beatrice Gamba13 May 2026 · 7 min - Knowledge graphs
Wikidata for Brands: Notability Criteria and a Realistic Path
Wikidata is the structured data layer that powers entity recognition across Google, LLMs, and most of the modern web. Here is what…
Beatrice Gamba13 May 2026 · 7 min - AI search optimisation
How LLMs Co-Cite: Building Authority by Association
When an LLM cites multiple sources in a single response, the sources it pairs together quietly signal which brands belong in which…
Beatrice Gamba13 May 2026 · 7 min - AI search optimisation
Cross-Platform Entity Consistency: The LLM-Era NAP
Local SEO has always known that NAP consistency matters. The LLM era extends that principle to every brand and every entity. Here…
Beatrice Gamba13 May 2026 · 5 min - ML tutorials
Entity Audit Cadence: What to Check Weekly, Monthly, Quarterly
Entity SEO is not a one-time project. It is an operational discipline that compounds when maintained and decays when ignored. Here is…
Beatrice Gamba13 May 2026 · 6 min - Knowledge graphs
What It Takes to Earn a Google Knowledge Panel
Google's Knowledge Panels do not appear because you ask for them. They appear because Google's Knowledge Graph contains enough verified information about…
Beatrice Gamba13 May 2026 · 7 min - Knowledge graphs
The Case for Entity Hubs Over Keyword Landing Pages
Keyword landing pages chase rankings for queries. Entity hubs build authority for concepts. Here is why one of these approaches compounds in…
Beatrice Gamba13 May 2026 · 7 min - ML tutorials
Entity Disambiguation in Practice: When Your Brand Shares a Name with Something Else
If your brand name overlaps with a person, place, fictional character, or another business, AI systems may attribute your content to the…
Beatrice Gamba13 May 2026 · 6 min - Implementation guides
What Schema.org @id Does and Why Your Entity Graph Falls Apart Without It
The @id property is the single most important technical element of structured data for entity recognition. Without it, your schema markup is…
Beatrice Gamba13 May 2026 · 6 min - ML tutorials
Why Navigation Elements Outrank Your Brand in Entity Analysis
If you have ever run entity extraction on your homepage and seen your menu items appear more prominently than your brand name,…
Beatrice Gamba13 May 2026 · 4 min - AI search optimisation
Why Entity Relationship Mapping Is Critical for Brand Visibility
Individual entities have limited value. Connected entity networks are what create exponential authority. Here are the six relationship patterns that turn isolated…
Beatrice Gamba12 May 2026 · 10 min - ML tutorials
Entity-Based Search in the LLM Era: How Google Structures and Interprets Entities
Search has shifted from matching keywords to understanding entities. Here is what that means in the LLM era, how Google's Knowledge Graph…
Beatrice Gamba12 May 2026 · 10 min - ML tutorials
How to Audit Entity Structure in Modern Search
An entity structure audit validates whether your site communicates the entities you intend Google and AI systems to recognise. Here is the…
Beatrice Gamba12 May 2026 · 11 min - Implementation guides
How Structured Data Reinforces Entity Understanding in AI Search
Structured data turns your content from text Google has to interpret into facts machines can read directly. Here is how schema.org, JSON-LD,…
Beatrice Gamba12 May 2026 · 12 min - Knowledge graphs
How Entity Blueprints Turn Brand Knowledge into Search Signals
Before you can optimise for AI search, you need to know which entities your brand even has, where they exist online, and…
Beatrice Gamba12 May 2026 · 8 min - AI search optimisation
5 Steps to Identify and Fix Entity Recognition Gaps That Block LLM Visibility
Five specific entity gaps stop LLMs from citing your content with confidence. Here is how to spot each one in your own…
Beatrice Gamba11 May 2026 · 7 min - AI search optimisation
How Entities Power Query Fan-Out in AI Search
Most of the searches happening on your behalf right now were never typed by anyone. Here is how AI systems generate entity-driven…
Beatrice Gamba11 May 2026 · 8 min - ML fundamentals
What Is Query Augmentation in SEO? How Search Engines Expand Queries (and Why It Matters Now)
Query augmentation is how search engines expand and enrich what users type into something more specific. It's also the conceptual ancestor of…
Lazarina Stoy11 May 2026 · 10 min - ML fundamentals
What Is Information Gain in SEO? How Google Measures Content Uniqueness
Information gain is the mechanism Google uses to evaluate whether your page adds something new to a topic — beyond what a…
Lazarina Stoy11 May 2026 · 12 min - ML fundamentals
What Is a Knowledge Graph? How to Use It for Smarter Keyword Strategy
Knowledge graphs are how Google and AI search systems organise meaning. Here's the intro-level walkthrough — what they are, how Google builds…
Lazarina Stoy11 May 2026 · 13 min - ML fundamentals
What Are Synthetic Queries? Why They Matter for Semantic SEO and AI Search
Most of the searches happening on your behalf right now were never typed by a human. Synthetic queries — the ones AI…
Lazarina Stoy11 May 2026 · 10 min - Implementation guides
What Is Search Intent in SEO? A Practical Guide to Using It in Semantic Keyword Research
Search intent goes far beyond informational, navigational, and transactional. Here's how to think about explicit and implicit intent, what the patents reveal…
Lazarina Stoy11 May 2026 · 26 min - Implementation guides
What Is SERP Feature Analysis? How to Use It for Smarter Keyword Research
SERP features aren't just visual elements — they're Google's live admission of what it thinks users want for any given query. Here's…
Lazarina Stoy11 May 2026 · 11 min - Implementation guides
How to Turn Semantic Keyword Research Into an Actionable SEO Workflow
Semantic keyword research is wasted if it stops at analysis. Here's how to operationalise it across marketing, UX, content, and growth —…
Lazarina Stoy11 May 2026 · 12 min - Implementation guides
How to Structure and Categorise Keyword Data for Semantic Analysis
A flat keyword list is useless. A multi-dimensional keyword universe — categorised by intent, entities, topics, personas, content types, and SERP features…
Lazarina Stoy11 May 2026 · 13 min - ML fundamentals
What Is the EAV Model in SEO? A Practical Framework for Semantic Keyword Research
The Entity-Attribute-Variable model gives SEOs a way to think beyond keywords to the real-world concepts users search for. Here's the intro-level walkthrough…
Lazarina Stoy11 May 2026 · 13 min - Implementation guides
What Is Implicit User Feedback in SEO? How Behavioural Signals Shape Search Rankings
Implicit feedback is what Google calls the behavioural data it collects from how users interact with search results. Here's the patent-grounded picture…
Lazarina Stoy11 May 2026 · 14 min - Implementation guides
What Does a Good Semantic Keyword Universe Actually Look Like?
A semantic keyword universe isn't finished when the analysis is done. The real value emerges when the insights are understood, trusted, and…
Lazarina Stoy11 May 2026 · 14 min - ML fundamentals
What is Query Context and Session Context in SEO?
Learn how query context and session context shape Google's results — and how AI search systems take personalisation even further — so…
Lazarina Stoy4 Apr 2026 · 19 min - ML fundamentals
What is Search Query Sequence and Query Path?
Understanding how users refine their searches and move between related topics is one of the most overlooked, yet powerful, dimensions of semantic…
Lazarina Stoy4 Apr 2026 · 14 min - ML tutorials
404 and Redirect Mapping with Fuzzy Matching in Google Colab (Python)
When managing a website, especially after a migration or extensive content pruning, it's common to end up with hundreds or even thousands…
Lazarina Stoy9 Aug 2025 · 9 min - Implementation guides
Different ways to Map Keywords to topics – with Supervised and Unsupervised ML approaches
Mapping keywords to topics can be a useful step in organising your keyword research process and your semantic keyword universe. It allows…
Lazarina Stoy3 Dec 2024 · 16 min - Implementation guides
How to use Google Autocomplete API and Places API for Keyword Suggestions with Python
Keyword suggestions are one of the most powerful ways to very quickly, with very minimal effort incorporate query semantics, and specifically to…
Lazarina Stoy12 Nov 2024 · 17 min - Implementation guides
How to do keyword clustering with KeyBERT
Keyword extraction is primarily used in Natural Language Processing (NLP) to identify the most relevant or important words or phrases (keywords) from…
Lazarina Stoy26 Oct 2024 · 9 min - Implementation guides
How to use generative AI with structured data for programmatic SEO
Prompt engineering is one of the hot topics these days, and it is constantly changing due to rapid changes in the guidelines,…
Elias Dabbas & Lazarina Stoy11 Oct 2024 · 14 min - Implementation guides
How to Automatically Optimize your SEO Metadata with FuzzyWuzzy and OpenAI in Google Colab
If you're looking to enhance your website's SEO without spending hours manually tweaking metadata, you're in the right place. In this tutorial,…
Lazarina Stoy & Natzir Turrado Ruiz8 Oct 2024 · 14 min - ML tutorials
How to transcribe audio with OpenAI’s Whisper API in Google Colab (Python)
Transcribing audio can be a game-changer for content creators, researchers, and anyone needing accurate text from spoken words. With OpenAI's Whisper API,…
Lazarina Stoy26 May 2024 · 8 min - ML tutorials
How to do content moderation with Google’s Natural Language API in Google Sheets (Apps Script)
As online platforms grow, the need to maintain healthy interactions and safeguard the user experience becomes more needed than ever. Detecting toxic…
Lazarina Stoy8 May 2024 · 11 min - ML tutorials
How to do Syntax Analysis with Google’s Natural Language API in Google Sheets (Apps Script)
Are you looking to understand the structural elements of language in large volumes of text like web content, technical documents, or anchor…
Lazarina Stoy23 Apr 2024 · 11 min - ML tutorials
How to do Sentiment Analysis with Google’s Natural Language API in Google Sheets (Apps Script)
Ever wished you could instantly gauge the sentiment behind a mountain of customer reviews, social media comments, or survey responses? Sentiment analysis…
Lazarina Stoy22 Apr 2024 · 12 min - ML tutorials
How to do Entity Extraction with Google’s Natural Language API in Google Sheets (Apps Script)
Swamped by text data that you need to quickly pull the key elements of? You're not alone. In almost any organic strategy…
Lazarina Stoy27 Mar 2024 · 10 min - ML tutorials
How to do Text Classification with Google’s Natural Language API in Google Sheets (Apps Script)
Overwhelmed by mountains of text data? In the world of digital marketing, especially in organic search and SEO, we are often faced…
Lazarina Stoy27 Mar 2024 · 9 min
No posts match.
Five kinds of posts, one goal: ML you can actually use in SEO
AI search optimisation
How AI search and agents retrieve, evaluate and cite content, and what to change so they choose yours.
ML tutorials
Step-by-step how-tos with the code, Google Sheets templates and Colab notebooks to run each technique yourself.
Implementation guides
Applied playbooks that take an SEO task, like keyword research or internal linking, and automate it end to end.
ML fundamentals
Plain-language explainers of the machine learning ideas behind modern search, for marketers without a data science background.
Knowledge graphs
Entity and knowledge graph strategy for brands: how search engines and LLMs recognise, connect and trust entities.
Courses from MLforSEO Academy
Trailer · 4:36
Lazarina StoyIntroduction to Machine Learning for SEO
Go from zero to running your first ML workflows for SEO: classification, clustering, entity extraction, fuzzy matching and content transformation.
€250View course
Trailer · 1:48
Lazarina StoySemantic AI-powered SEO Keyword Research
Build a semantic keyword universe and an automated content-brief workflow, from query understanding through SERP analysis to delivery.
€400View course
NEW
Beatrice GambaAI Search Optimization & Agentic SEO
Optimize for the AI agents that browse, decide, and act on your behalf. Make your brand findable, trustworthy, and actionable to the systems mediating discovery, and measure influence when rankings stop telling the whole story.
€400View course



























































































