Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruth Everett - Getting to grips with Python and Machine Learning (BrightonSEO April 2020)

Ruth Everett - Getting to grips with Python and Machine Learning (BrightonSEO April 2020)

Ruth Everett

September 02, 2023
Tweet

More Decks by Ruth Everett

Other Decks in Marketing & SEO

Transcript

  1. Getting to Grips with Python & Machine Learning for SEO

    Ruth Everett // DeepCrawl https://www.slideshare.net/RuthEverett1 @rvtheverett
  2. Ruth Everett Technical SEO Analyst @rvtheverett Getting to Grips with

    Python & Machine Learning for SEO @rvtheverett @DeepCrawl
  3. Getting Started with Python What We’ll Cover How Python can

    help with Technical SEO An Introduction to Machine Learning for SEO @rvtheverett #BrightonSEO
  4. WHAT IS PYTHON? Code written in the terminal @rvtheverett #BrightonSEO

    Results generated Open-source interactive programming language Interpreted line by line
  5. 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
  6. 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
  7. 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
  8. DATACAMP @rvtheverett #BrightonSEO Wide range of skill tracks Interactive exercises

    Instant explanations Challenges and projects https://www.datacamp.com/learn/python/
  9. SOLOLEARN @rvtheverett #BrightonSEO Free mobile app Learn Python on the

    go Over 200 practice questions Code Playground https://www.sololearn.com/Course/Python/
  10. 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/
  11. WHY SHOULD WE CARE? @rvtheverett #BrightonSEO Spend 5 hours a

    week using excel Thats 20 hours a month
  12. WHY SHOULD WE CARE? @rvtheverett #BrightonSEO Spend 5 hours a

    week using excel Thats 20 hours a month Over 200 hours a year
  13. 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)
  14. @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
  15. AUTOMATING WITH PYTHON @rvtheverett #BrightonSEO Automating with Python Parameter Finder

    404 Checker Internal Linking Analysis Image Optimisation Website Scraping Keyword Research
  16. 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
  17. OTHER POSSIBILITIES @rvtheverett #BrightonSEO Log File analysis Validate hreflang Identify

    duplicate URLs Perform competitor analysis Automate page speed audits
  18. 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/
  19. 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/
  20. 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
  21. 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
  22. 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.
  23. 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
  24. 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.
  25. 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.
  26. INTERNAL LINKING @rvtheverett #BrightonSEO Crawl to identify broken internal links

    Algorithm to suggest the most accurate replacement page Replace broken internal links
  27. 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.
  28. 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
  29. 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/
  30. 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.
  31. 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.
  32. 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