Share
Embed
Ruth Everett - Getting to grips with Python and Machine Learning (BrightonSEO April 2020)
Ruth Everett
September 02, 2023
Transcript
124 slides
-
Getting to Grips with Python & Machine Learning for SEO
Ruth Everett // DeepCrawl https://www.slideshare.net/RuthEverett1 @rvtheverett -
Ruth Everett Technical SEO Analyst @rvtheverett Getting to Grips with
Python & Machine Learning for SEO @rvtheverett @DeepCrawl -
@rvtheverett @deepcrawl #BrightonSEO Allow: /dogs Allow: /SEO Allow: /python My
coding partner in crime -
Getting Started with Python What We’ll Cover How Python can
help with Technical SEO An Introduction to Machine Learning for SEO @rvtheverett #BrightonSEO -
WHAT IS PYTHON? Code written in the terminal @rvtheverett #BrightonSEO
Results generated Open-source interactive programming language Interpreted line by line -
COMPANIES USING PYTHON "Python has been an important part of
Google since the beginning, and remains so as the system grows and evolves. Today dozens of Google engineers use Python, and we're looking for more people with skills in this language." @rvtheverett #BrightonSEO -
COMPANIES USING PYTHON "Python is fast enough for our site
and allows us to produce maintainable features in record times, with a minimum of developers" @rvtheverett @BrightonSEO -
CODECADEMY @rvtheverett #BrightonSEO 20 week online course Mixture of theory
and practical A range of projects to undertake Code console & terminal to play and test -
DATACAMP @rvtheverett #BrightonSEO Wide range of skill tracks Interactive exercises
Instant explanations Challenges and projects https://www.datacamp.com/learn/python/ -
SOLOLEARN @rvtheverett #BrightonSEO Free mobile app Learn Python on the
go Over 200 practice questions Code Playground https://www.sololearn.com/Course/Python/ -
PYTHON LIBRARIES @rvtheverett #BrightonSEO Data extraction & analysis Scientific Computing
Natural Language Processing Machine Learning -
WHY SHOULD WE CARE? @rvtheverett #BrightonSEO Data extraction and analysis
to solve complex problems Future-proofing your job Efficiency and time-saving Automating repetitive tasks https://www.ranksense.com/empowering-a-new-generation-of-seos-with-python/ -
WHY SHOULD WE CARE? @rvtheverett #BrightonSEO Spend 5 hours a
week using excel -
WHY SHOULD WE CARE? @rvtheverett #BrightonSEO Spend 5 hours a
week using excel Thats 20 hours a month -
WHY SHOULD WE CARE? @rvtheverett #BrightonSEO Spend 5 hours a
week using excel Thats 20 hours a month Over 200 hours a year -
WHY SHOULD WE CARE? @rvtheverett #BrightonSEO Imagine what we could
achieve if we spent this time on other important tasks (that can’t be automated) -
@rvtheverett #BrightonSEO WHY IS PYTHON GROWING IN POPULARITY IN THE
SEO SPACE? Make data driven decisions Allowing us to focus on other important optimisation efforts Confidence in recommendations Provide concrete insights Better understand data -
AUTOMATING WITH PYTHON @rvtheverett #BrightonSEO Automating with Python Parameter Finder
404 Checker Internal Linking Analysis Image Optimisation Website Scraping Keyword Research -
@rvtheverett #BrightonSEO CHALLENGE - MISSING ALT TEXT SOLUTION - IMAGE
CAPTIONING WITH PYTHIA -
IMAGE CAPTIONING WITH PYTHIA @rvtheverett #BrightonSEO Pythia Modular Framework https://paperswithcode.com/paper/bottom-up-and-top-down-attention-for-image
https://learnpythia.readthedocs.io/en/latest/ -
OPTIMISE IMAGES WITH PILLOW @rvtheverett #BrightonSEO Pure Python using the
Pillow library This script does optimise images destructively optimize-images filename.jpg Optimise a single image optimize-images ./ Optimise a folder with multiple images Github Link -
OTHER POSSIBILITIES @rvtheverett #BrightonSEO Log File analysis Validate hreflang Identify
duplicate URLs Perform competitor analysis Automate page speed audits -
OTHER FUN PYTHON PROJECTS @rvtheverett #BrightonSEO Create a bot using
Python, Telegram and RandomDog API https://www.practicepython.org/ https://realpython.com/pygame-a-primer/ https://inventwithpython.com/pygame/ -
WHAT IS MACHINE LEARNING? @rvtheverett #BrightonSEO “Machine learning is an
application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed.” https://www.expertsystem.com/machine-learning-definition/ -
POWERING MACHINE LEARNING @rvtheverett #BrightonSEO https://www.expertsystem.com/machine-learning-definition/ Run a script to
train the computer, using a dataset -
POWERING MACHINE LEARNING @rvtheverett #BrightonSEO https://www.expertsystem.com/machine-learning-definition/ Run a script to
train the computer, using a dataset Summarise & Visualise the dataset -
POWERING MACHINE LEARNING @rvtheverett #BrightonSEO https://www.expertsystem.com/machine-learning-definition/ Run a script to
train the computer, using a dataset Summarise & Visualise the dataset Evaluate the algorithms -
POWERING MACHINE LEARNING @rvtheverett #BrightonSEO https://www.expertsystem.com/machine-learning-definition/ Run a script to
train the computer, using a dataset Summarise & Visualise the dataset Evaluate the algorithms Make Predictions -
MACHINE LEARNING SIMPLIFIED @rvtheverett #BrightonSEO - Ethem Alpaydin Machine learning
will help us make sense of an increasingly complex world. Already we are exposed to more data than what our sensors can cope with or our brains can process. -
SEO POSSIBILITIES WITH MACHINE LEARNING @rvtheverett #BrightonSEO SEO Possibilities with
Machine Learning Evaluating Content Quality Log File Analysis Predictive analysis Title Tag Optimisation User Engagement Insights Audio Transcribing -
PREDICTIVE PREFETCHING @rvtheverett #BrightonSEO https://guess-js.github.io/docs Predict the next page a
user is likely to visit and prefetch these pages. -
PREDICTIVE PREFETCHING @rvtheverett #BrightonSEO https://guess-js.github.io/docs Predict the next page a
user is likely to visit and prefetch these pages. Predict the next piece of content (article, product, video) a user is likely to want to view and adjust or filter the user experience to account for this. -
PREDICTIVE PREFETCHING @rvtheverett #BrightonSEO https://guess-js.github.io/docs Predict the next page a
user is likely to visit and prefetch these pages. Predict the next piece of content (article, product, video) a user is likely to want to view and adjust or filter the user experience to account for this. Predict the types of widgets an individual user is likely to interact with more (e.g games) and use this data to tailor a more custom experience. -
INTERNAL LINKING @rvtheverett #BrightonSEO Crawl to identify broken internal links
Algorithm to suggest the most accurate replacement page Replace broken internal links -
CONTENT QUALITY @rvtheverett #BrightonSEO Search Volume Uniqueness Freshness Internal Links
Word Count Search Traffic Heading Tags Time on page Bounce Rate Conversion Rate Model generates insights on the factors that are most important. -
USER EXPERIENCE @rvtheverett #BrightonSEO https://github.com/mgechev/guess-next Chatbots - Helping users find
the most useful content Remember trust is important - let users know if they talking to a bot rather than a human -
MACHINE LEARNING TOOLS @rvtheverett #BrightonSEO Google’s NLP Model Natural Language
uses machine learning to reveal the structure and meaning of text. Analyses text to understand the sentiment, as well as extract key information. https://cloud.google.com/natural-language/ -
TENSOR FLOW FOR POETS @rvtheverett #BrightonSEO https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0 Retrain an already
trained model using transfer learning for a similar problem. Train a simple classifier to classify images of flowers. -
@rvtheverett #BrightonSEO THE FUTURE OF SEO Focus on other important
optimisation activities -
PEOPLE TO FOLLOW @britneymuller @hamletbatista @TylerReardon @DataChaz @dawnieando @jroakes @jessthebp
@aysunakarsu @math_rachel -
KEY TAKEAWAYS @rvtheverett #BrightonSEO Python can help technical SEOs increase
their efficiency. Being able to better understand data will lead to better decisions being made. Anyone can learn Python, with a little commitment. Have fun with it and see what you can create. -
USEFUL RESOURCES @rvtheverett #BrightonSEO https://www.python.org/ https://www.searchenginejournal.com/python-seo-data-reference-guide/287927/ https://www.searchenginewatch.com/2019/02/06/using-python-to-recover-seo-site-traffic-part-one/ https://cs109.github.io/2015/ https://www.deepcrawl.com/blog/webinars/scaling-automated-quality-text-generation-for-enterprise-sites/ https://automatetheboringstuff.com/
https://towardsdatascience.com/beginners-guide-to-machine-learning-with-python-b9ff35bc9c51 https://www.searchenginejournal.com/python-technical-seo/330515 https://www.searchenginejournal.com/introduction-to-python-seo-spreadsheets/342779/ https://www.fullstackpython.com/ https://www.tensorflow.org/learn