Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Hands-On Data Science for Marketing
Hands-On Data Science for Marketing

Hands-On Data Science for Marketing: Improve your marketing strategies with machine learning using Python and R

eBook
€20.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Hands-On Data Science for Marketing

Data Science and Marketing

Welcome to the first chapter of Hands-On Data Science for Marketing! As you may be familiar already, the importance and application of data science in the marketing industry have been rising significantly over the past few years. Yet, marketing data science is a relatively new field and the amount of resources available for education and references lags behind the momentum. However, the amount of data gathered and available to the process has been growing exponentially each year, which opens up even more opportunities to learn and bring insight from the data.

With the growing amount of data and applications of data science in marketing, we can easily find examples of the usage of data science to marketing efforts. Companies are starting to use data science to better understand customer behaviors and identify different customer segments based on their...

Technical requirements

Trends in marketing

As the amount of data available and gathered increases exponentially every year and access to such valuable datasets becomes easier, data science and machine learning have become an integral part of marketing. The applications of data science in marketing range from building insightful reports and dashboards to utilizing complicated machine learning algorithms to predict customer behaviors or engage customers with the products and contents. The trends in marketing in recent years have been toward more data-driven target marketing. We will discuss some of the trends we see in the marketing industry:

  • Rising importance of digital marketing: As people spend more time online than ever before, the importance and effectiveness of digital marketing have been rising with time. Lots of marketing activities are now happening on digital channels, such as search engines...

Applications of data science in marketing

We have discussed the trends in marketing and how the trend has been toward more data-driven and quantitative marketing, often using data science and machine learning. There are various ways to apply data science and machine learning in the marketing industry and it will be beneficial for us to discuss the typical tasks and usage of data science and machine learning.

In this section, we will cover the basics of machine learning, the different types of learning algorithms, and, typical data science workflow and process.

Descriptive versus explanatory versus predictive analyses

As we work through the exercises and projects in the upcoming chapters, there are mainly three different...

Setting up the Python environment

Now that we have discussed some of the basics of data science and its applications to marketing, let's start getting our development environments ready for the upcoming chapters and projects. For those of you who will be using the R language for the exercises, you can skip this section and move to the Setting up the R environment section. For those of you who are planning to use the Python language for the exercises, it will be beneficial for you to follow these steps to install all the required Python packages and get your Python environment ready, even if you are already familiar with Python.

Installing the Anaconda distribution

For data science and machine learning tasks in this book...

Setting up the R environment

For those of you who are planning to use the R language for the upcoming exercises and projects, we will discuss how to get your R environment ready for data science and machine learning tasks in this book. We will start by installing R and RStudio and then build a simple logistic regression model using R to familiarize ourselves with R for data science.

Installing R and RStudio

Along with Python, R is one of the most frequently used languages for data science and machine learning. The fact that it is very easy to use, and that there is a large number of R libraries for machine learning, attracts many data scientists. In order to use this language, you will need to download it from the following...

Summary

In this chapter, we discussed the overall trends in marketing and learned the rising importance of data science and machine learning in the marketing industry. As the amount of data increases and as we observe the benefits of utilizing data science and machine learning for marketing, companies of all sizes are investing in building more data-driven and quantitative marketing strategies.

We also learned different types of analysis methods, especially the three types of analysis that we will be using frequently in this book—descriptive, explanatory, and predictive —and different use cases of these analyses. In this chapter, we covered different types of machine learning algorithms, as well as the typical workflow in data science. Lastly, we spent some time setting up our development environments in Python and R and testing our environment setup by building...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Understand how data science drives successful marketing campaigns
  • Use machine learning for better customer engagement, retention, and product recommendations
  • Extract insights from your data to optimize marketing strategies and increase profitability

Description

Regardless of company size, the adoption of data science and machine learning for marketing has been rising in the industry. With this book, you will learn to implement data science techniques to understand the drivers behind the successes and failures of marketing campaigns. This book is a comprehensive guide to help you understand and predict customer behaviors and create more effectively targeted and personalized marketing strategies. This is a practical guide to performing simple-to-advanced tasks, to extract hidden insights from the data and use them to make smart business decisions. You will understand what drives sales and increases customer engagements for your products. You will learn to implement machine learning to forecast which customers are more likely to engage with the products and have high lifetime value. This book will also show you how to use machine learning techniques to understand different customer segments and recommend the right products for each customer. Apart from learning to gain insights into consumer behavior using exploratory analysis, you will also learn the concept of A/B testing and implement it using Python and R. By the end of this book, you will be experienced enough with various data science and machine learning techniques to run and manage successful marketing campaigns for your business.

Who is this book for?

If you are a marketing professional, data scientist, engineer, or a student keen to learn how to apply data science to marketing, this book is what you need! It will be beneficial to have some basic knowledge of either Python or R to work through the examples. This book will also be beneficial for beginners as it covers basic-to-advanced data science concepts and applications in marketing with real-life examples.

What you will learn

  • Learn how to compute and visualize marketing KPIs in Python and R
  • Master what drives successful marketing campaigns with data science
  • Use machine learning to predict customer engagement and lifetime value
  • Make product recommendations that customers are most likely to buy
  • Learn how to use A/B testing for better marketing decision making
  • Implement machine learning to understand different customer segments
Estimated delivery fee Deliver to Finland

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 29, 2019
Length: 464 pages
Edition : 1st
Language : English
ISBN-13 : 9781789346343
Category :
Languages :
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Finland

Premium delivery 7 - 10 business days

€17.95
(Includes tracking information)

Product Details

Publication date : Mar 29, 2019
Length: 464 pages
Edition : 1st
Language : English
ISBN-13 : 9781789346343
Category :
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 99.97
Data Science for Marketing Analytics
€29.99
Hands-On Data Science for Marketing
€36.99
Data Science for Marketing Analytics
€32.99
Total 99.97 Stars icon
Banner background image

Table of Contents

19 Chapters
Section 1: Introduction and Environment Setup Chevron down icon Chevron up icon
Data Science and Marketing Chevron down icon Chevron up icon
Section 2: Descriptive Versus Explanatory Analysis Chevron down icon Chevron up icon
Key Performance Indicators and Visualizations Chevron down icon Chevron up icon
Drivers behind Marketing Engagement Chevron down icon Chevron up icon
From Engagement to Conversion Chevron down icon Chevron up icon
Section 3: Product Visibility and Marketing Chevron down icon Chevron up icon
Product Analytics Chevron down icon Chevron up icon
Recommending the Right Products Chevron down icon Chevron up icon
Section 4: Personalized Marketing Chevron down icon Chevron up icon
Exploratory Analysis for Customer Behavior Chevron down icon Chevron up icon
Predicting the Likelihood of Marketing Engagement Chevron down icon Chevron up icon
Customer Lifetime Value Chevron down icon Chevron up icon
Data-Driven Customer Segmentation Chevron down icon Chevron up icon
Retaining Customers Chevron down icon Chevron up icon
Section 5: Better Decision Making Chevron down icon Chevron up icon
A/B Testing for Better Marketing Strategy Chevron down icon Chevron up icon
What's Next? Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1
(14 Ratings)
5 star 64.3%
4 star 7.1%
3 star 7.1%
2 star 14.3%
1 star 7.1%
Filter icon Filter
Top Reviews

Filter reviews by




Cliente Amazon May 12, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very practical book. Recommended marketers and data scientists working in marketing.
Amazon Verified review Amazon
IP May 18, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am a data scientist at MBB and have done numerous marketing related projects. However, most of my team's approach was rather ad-hoc so I was looking for a structured way of looking at those problems. This book walked me through from start to end and covered most of the things that I needed to perform data science for marketing. I think this book will help data scientists in all experience levels; if you are new to data science, this book has a step-by-step setup and coding guide with examples. If you are an experienced data scientist, this book will help you to understand key concepts in marketing analytics as well as a general marketing strategy and know-how. All in all, I recommend this book to any data scientist who wants to learn more about both data science and marketing.
Amazon Verified review Amazon
jeeb Mar 29, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Perfect for someone who is looking for a data science starter kit in the field of marketing. Highly recommend.
Amazon Verified review Amazon
Tae Uk Apr 27, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a college senior who studies data science, I found this book is super useful. This book provides a variety of real-world use of data analysis in marketing, where you can apply your knowledge in theory, something that you can’t learn from class. With applications of basic simple regression analysis to advanced machine learning, this book will get you engaged to practice many techniques that are applied to key researches and analyses in marketing.Another huge thing about this book is that it is very engaging and comprehensible. With well-organized order in each chapter, the author guides you challenging materials with nice step by step explanation to almost effortlessly help you learn key functions in both Python and R languages. If you want to get your feet wet or brush up your data analytic expertise in marketing, I highly recommend this book!!
Amazon Verified review Amazon
James White Jul 30, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I bought this book having spent the last 5 years working in data analytics and it was good to see something specific to marketing. I enjoyed going through the coding examples (every chapter features code in both Python and R). The code was about 90 percent accurate with a few typos or misprints here and there. I would encourage you to download the answers and try out the examples in one or both programming languages. I certainly see where you could use these examples, learn and either put together something on your laptop or work on your favorite public cloud. You do need at least some understanding of programming and willingness and ability to debug coding mistakes. This was a great tutorial if you have the willingness to roll up your sleeves and write some code.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact [email protected] with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at [email protected] using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on [email protected] with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on [email protected] within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on [email protected] who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on [email protected] within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela