<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Competitor Archives - Artificial Intelligence</title>
	<atom:link href="https://www.aiuniverse.xyz/tag/competitor/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.aiuniverse.xyz/tag/competitor/</link>
	<description>Exploring the universe of Intelligence</description>
	<lastBuildDate>Thu, 17 Jun 2021 05:49:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How to Use Machine Learning for SEO Competitor Research</title>
		<link>https://www.aiuniverse.xyz/how-to-use-machine-learning-for-seo-competitor-research/</link>
					<comments>https://www.aiuniverse.xyz/how-to-use-machine-learning-for-seo-competitor-research/#respond</comments>
		
		<dc:creator><![CDATA[aiuniverse]]></dc:creator>
		<pubDate>Thu, 17 Jun 2021 05:49:35 +0000</pubDate>
				<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Competitor]]></category>
		<category><![CDATA[Machine learning]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[SEO]]></category>
		<guid isPermaLink="false">https://www.aiuniverse.xyz/?p=14368</guid>

					<description><![CDATA[<p>Source &#8211; https://www.searchenginejournal.com/ Learn how to use machine learning for more precise, statistically relevant, and scalable SEO competitor research (with tools, code &#38; more). With the ever-increasing <a class="read-more-link" href="https://www.aiuniverse.xyz/how-to-use-machine-learning-for-seo-competitor-research/">Read More</a></p>
<p>The post <a href="https://www.aiuniverse.xyz/how-to-use-machine-learning-for-seo-competitor-research/">How to Use Machine Learning for SEO Competitor Research</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Source &#8211; https://www.searchenginejournal.com/</p>



<p>Learn how to use machine learning for more precise, statistically relevant, and scalable SEO competitor research (with tools, code &amp; more).</p>



<p>With the ever-increasing appetite of SEO professionals to learn Python, there’s never been a better or more exciting time to take advantage of machine learning’s (ML) capabilities and apply these to SEO.</p>



<p>This is especially true in your competitor research.</p>



<p>In this column, you’ll learn how machine learning helps address common challenges in SEO competitor research, how to set up and train your ML model, how to automate your analysis, and more.</p>



<p>Let’s do this!</p>



<h2 class="wp-block-heading">Why We Need Machine Learning in SEO Competitor Research</h2>



<p>Most if not all SEO pros working in competitive markets will analyze the SERPs and their business competitors to find out what it is their site is doing to achieve a higher rank.</p>



<p>Back in 2003, we used spreadsheets to collect data from SERPs, with columns representing different aspects of the competition such as the number of links to the home page, number of pages, etc.</p>



<p>In hindsight, the idea was right but the execution was hopeless due to the limitations of Excel in performing a statistically robust analysis in the short time required.</p>



<p>And if the limits of spreadsheets weren’t enough, the landscape has moved on quite a bit since then as we now have:</p>



<ul class="wp-block-list"><li>Mobile SERPs.</li><li>Social media.</li><li>A much more sophisticated Google Search experience.</li><li>Page Speed.</li><li>Personalized search.</li><li>Schema.</li><li>Javascript frameworks and other new web technologies.</li></ul>



<p>The above is by no means an exhaustive list of trends but serves to illustrate the ever-increasing range of factors that can explain the advantage of your higher-ranked competitors in Google.</p>



<h2 class="wp-block-heading">Machine Learning in the SEO Context</h2>



<p>Thankfully, with tools like Python/R, we’re no longer subject to the limits of spreadsheets. Python/R can handle millions to billions of rows of data.</p>



<p>If anything, the limit is the quality of data you can feed into your ML model and the intelligent questions you ask of your data.</p>



<p>As an SEO professional, you can make the decisive difference to your SEO campaign by cutting through the noise and using machine learning on competitor data to discover:</p>



<ul class="wp-block-list"><li>Which ranking factors can best explain the differences in rankings between sites.</li><li>What the winning benchmark is.</li><li>How much a unit change in the factor is worth in terms of rank.</li></ul>



<p>Like any (data) science endeavor, there are a number of questions to be answered before we can start coding.</p>



<h3 class="wp-block-heading">What Type of ML Problem is Competitor Analysis?</h3>



<p>ML solves a number of problems whether it’s categorizing things (classification) or predicting a continuous number (regression).</p>



<p>In our particular case, since the quality of a competitor’s SEO is denoted by its rank in Google, and that rank is a continuous number, then the ML problem is one of regression.</p>



<h3 class="wp-block-heading">Outcome Metric</h3>



<p>Given that we know the ML problem is one of regression, the outcome metric is rank. This makes sense for a number of reasons:</p>



<ul class="wp-block-list"><li>Rank won’t suffer from seasonality; an ice cream brand’s rankings for searches on [ice cream] won’t depreciate because it’s winter, unlike the “users” metric.</li><li>Competitor rank is third-party data and is available using commercial SEO tools, unlike their user traffic and conversions.</li></ul>



<h3 class="wp-block-heading">What Are the Features?</h3>



<p>Knowing the outcome metric, we must now determine the independent variables or model inputs also known as features. The data types for the feature will vary, for example:</p>



<ul class="wp-block-list"><li>First paint measured in seconds would be a numeric.</li><li>Sentiment with the categories positive, neutral, and negative would be a factor.</li></ul>



<p>Naturally, you want to cover as many meaningful features as possible including technical, content/UX, and offsite for the most comprehensive competitor research.</p>



<h3 class="wp-block-heading">What Is the Math?</h3>



<p>Given that rankings are numeric, and that we want to explain the difference in rank, then in mathematical terms:</p>



<pre class="wp-block-preformatted">rank ~ w_1*feature_1 + w_2*feature_2 + … + w_n*feature_n</pre>



<p>~ (known as the “tilde”) means “explained by”</p>



<p>n being the nth feature</p>



<p>w is the weighting of the feature</p>



<h2 class="wp-block-heading">Using Machine Learning to Uncover Competitor Secrets</h2>



<p>With the answers to these questions in hand, we’re ready to see what secrets machine learning can reveal about your competition.</p>



<p>At this point, we will assume that your data (known in this example as “serps_data”) has been joined, transformed, cleaned, and is now ready for modeling.</p>



<p>As a minimum, this data will contain the Google rank and feature data you want to test.</p>



<p>For example, your columns could include:</p>



<ul class="wp-block-list"><li>Google_rank.</li><li>Page_speed.</li><li>Sentiment.</li><li>Flesch_kincaid_reading_ease.</li><li>Amp_version_available.</li><li>Site_depth.</li><li>Internal_page_rank.</li><li>Referring_comains count.</li><li>avg_domain_authority_backlinks.</li><li>title_keyword_string_distance.</li></ul>



<h3 class="wp-block-heading">Training Your ML Model</h3>



<p>To train your model, we’re using XGBoost because it tends to deliver better results than other ML models.</p>



<p>Alternatives you may wish to trial in parallel are LightGBM (especially for much larger datasets), RandomForest, and Adaboost.</p>



<p>Try using the following Python code for XGBoost for your SERPs dataset:</p>



<p># import the libraries</p>



<pre class="wp-block-preformatted">import xgboost as xgb

import pandas as pd

serps_data = pd.read_csv('serps_data.csv')</pre>



<p># set the model variables</p>



<p># your SERPs data with everything but the google_rank column</p>



<pre class="wp-block-preformatted">serp_features = serps_data.drop(columns = ['Google_rank'])</pre>



<p># your SERPs data with just the google_rank column</p>



<pre class="wp-block-preformatted">rank_actual = serps_data.Google_rank</pre>



<p># Instantiate the model</p>



<pre class="wp-block-preformatted">serps_model = xgb.XGBRegressor(objective='reg:linear', random_state=1231)</pre>



<p># fit the model</p>



<pre class="wp-block-preformatted">serps_model.fit(serp_features, rank_actual)</pre>



<p># generate the model predictions</p>



<pre class="wp-block-preformatted">rank_pred = serps_model.predict(serp_features)</pre>



<p># evaluate the model accuracy</p>



<pre class="wp-block-preformatted">mse = mean_squared_error(rank_actual, rank_pred)</pre>



<p>Note that the above is very basic. In a real client scenario, you’d want to trial a number of model algorithms on a training data sample (about 80% of the data), evaluate (using the remaining 20% data), and select the best model.</p>
<p>The post <a href="https://www.aiuniverse.xyz/how-to-use-machine-learning-for-seo-competitor-research/">How to Use Machine Learning for SEO Competitor Research</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiuniverse.xyz/how-to-use-machine-learning-for-seo-competitor-research/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
