Introduction to Machine Learning for SEO
- Practical: Semantic Analysis of Customer reviews
- Marketing and SEO implementations of ML classification
- Marketing and SEO implementations of entity and sentiment analysis
Model Evaluation
In shortA number showing whether text is positive, negative or neutral. In Google's Natural Language API it runs from -1.0 (very negative) to +1.0 (very positive).
A sentiment score, also called polarity, is the number a sentiment analysis model gives a piece of text to show whether its overall tone is positive, negative or neutral. In Google’s Cloud Natural Language API the score runs from -1.0 (clearly negative) to +1.0 (clearly positive), with values near 0 for neutral or mixed text. Other tools such as IBM Watson NLU report similar scores with their own scales and labels.
The model reads the text and estimates its emotional direction for the whole document, for each sentence and, with entity sentiment analysis, for each entity mentioned. The score tells you the direction. It is paired with sentiment magnitude, which tells you how much emotion there is regardless of direction:
Google recommends setting your own thresholds for what counts as clearly positive or negative after testing on your data.
MLforSEO’s SERP analysis dashboard plots ranking titles by position on one axis and sentiment score on the other, with bubble size showing magnitude. Filtering by keyword shows where negative titles about a brand sit in the top results, which helps prioritise reputation work. In the no-code Sheets template, the same scores come with a custom label, such as “slightly negative”, that you can rename in Apps Script.