Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning and Generative AI for Marketing

You're reading from   Machine Learning and Generative AI for Marketing Take your data-driven marketing strategies to the next level using Python

Arrow left icon
Product type Paperback
Published in Aug 2024
Publisher Packt
ISBN-13 9781835889404
Length 482 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Nicholas C. Burtch Nicholas C. Burtch
Author Profile Icon Nicholas C. Burtch
Nicholas C. Burtch
Yoon Hyup Hwang Yoon Hyup Hwang
Author Profile Icon Yoon Hyup Hwang
Yoon Hyup Hwang
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. The Evolution of Marketing in the AI Era and Preparing Your Toolkit FREE CHAPTER 2. Decoding Marketing Performance with KPIs 3. Unveiling the Dynamics of Marketing Success 4. Harnessing Seasonality and Trends for Strategic Planning 5. Enhancing Customer Insight with Sentiment Analysis 6. Leveraging Predictive Analytics and A/B Testing for Customer Engagement 7. Personalized Product Recommendations 8. Segmenting Customers with Machine Learning 9. Creating Compelling Content with Zero-Shot Learning 10. Enhancing Brand Presence with Few-Shot Learning and Transfer Learning 11. Micro-Targeting with Retrieval-Augmented Generation 12. The Future Landscape of AI and ML in Marketing 13. Ethics and Governance in AI-Enabled Marketing 14. Other Books You May Enjoy
15. Index

Summary

In this chapter, we discussed different ways to segment the customer base. We first looked at how new versus repeat customers contribute to revenue, as well as how monthly progressions of new and repeat customer numbers can tell us which segment or group of customers to focus on during the next marketing campaigns. Then, we discussed how the K-means clustering algorithm can be used to programmatically build and identify different customer segments. Using the sales amount, order quantity, and refunds, we experimented with how these factors can be used to build different customer segments. In lieu of doing it, we touched on silhouette scores as a criterion for finding the best number of clusters and how log transformation can be beneficial when dealing with highly skewed datasets. Lastly, we used word and sentence embedding vectors to convert the product descriptions into numerical vectors with contextual understanding and further built customer segments based on their product...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime