Hands-On Data Science for Marketing
Improve your marketing strategies with machine learning using Python and R
Yoon Hyup Hwang
BIRMINGHAM - MUMBAI
Hands-On Data Science for Marketing
Copyright 2019 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
Commissioning Editor: Sunith Shetty
Acquisition Editor: Joshua Nadar
Content Development Editor: Chris D'cruz
Technical Editor: Sushmeeta Jena
Copy Editor: Safis Editing
Project Coordinator: Hardik Bhinde
Proofreader: Safis Editing
Indexer: Pratik Shirodkar
Graphics: Tom Scaria
Production Coordinator: Jisha Chirayil
First published: March 2019
Production reference: 1280319
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78934-634-3
www.packtpub.com
mapt.io
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.
Why subscribe?
Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free eBook or video every month
Mapt is fully searchable
Copy and paste, print, and bookmark content
Packt.com
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.
At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.
Contributors
About the author
Yoon Hyup Hwang is a seasoned data scientist in the marketing and financial sectors with expertise in predictive modeling, machine learning, statistical analysis, and data engineering. He has 8+ years' experience of building numerous machine learning models and data products using Python and R. He holds an MSE in computer and information technology from the University of Pennsylvania and a BA in economics from the University of Chicago.
In his spare time, he enjoys practicing various martial arts, snowboarding, and roasting coffee. Born and raised in Busan, South Korea, he currently works in New York and lives in New Jersey with his artist wife, Sunyoung, and a playful dog, Dali (named after Salvador Dali).
I'd like to thank my wife, Sunyoung, for keeping me sane throughout the process of writing this book. I cannot thank her enough for all the sacrifices she made over the past year. I'd also like to thank my family, who were there when I needed mental support. Without them, I wouldn't even have had the opportunity to work on this amazing book. Lastly, I'd like to thank all of my editors and reviewers for pushing me hard to write quality content.
About the reviewer
Rohan Dhupar is in the final semester of his degree computer science and engineering from the Rustamji Institute of Technology. Since November 2017, he has done a number of internships, mainly in relation to natural language processing for both US and Indian companies, focusing on machine and deep learning. He has undertaken numerous projects and achieved much in his academic life. He ranks in the top 1% of Kaggle experts, has been a Microsoft Student Partner since 2017, and has received numerous invitations from established companies to join their data science software engineering teams. He is currently working as a data scientist, focusing mainly on image processing projects, for Innovations Labs, a US firm based in India .
I would like to thank Ali Mehndi Hasan Abidi and Hardik Bhinde, who provided me with the support required to write well-formatted and properly documented reviews.
Packt is searching for authors like you
If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.
Preface
The adoption of data science and machine learning for marketing has been on the rise, from small to large organizations. With data science, you can better understand the drivers behind the successes and failures of previous marketing strategies and you can better understand customer behavior and interaction with your products. With data science, you can also predict customer behavior and create better targeted and personalized marketing strategies for better cost per acquisition, higher conversion rates, and higher net sales. With this book, you will be able to apply various data science techniques to create data-driven marketing strategies.
This book serves as a practical guide to performing simple-to-advanced tasks in marketing. You will use data science to understand what drives sales and customer engagement. You will use machine learning to forecast which customer is likely to engage with products more and has the highest expected lifetime value. You will also use machine learning to understand what data tells you about different customer segments and recommend the right products for individual customers that they are most likely to purchase. By the end of this book, you will be well-versed with various data science and machine learning techniques and how they can be utilized for different marketing goals.
Personally, I would have benefited from books such as this. When I was embarking on my career in data science and marketing, there were abundant resources on theories and details of different data science and machine learning techniques, but not so much on how to use these technologies and techniques for marketing specifically. Learning about the theories was vastly different from actually utilizing and applying them to real-world business use cases in marketing. In this book, I hope to share my experience and the knowledge acquired through significant instances of trial and error in applying data science and machine learning to different marketing goals. By the end of this book, you will have a good understanding of what types of technologies and techniques are used for different marketing use cases, where to find additional resources, and what to study next after this book.
Next page