Have a personal or library account? Click to login
Mastering Spark for Data Science Cover

Mastering Spark for Data Science

Lightning fast and scalable data science solutions

Paid access
|Sep 2025
Product purchase options

Master the techniques and sophisticated analytics used to construct Spark-based solutions that scale to deliver production-grade data science products

Key Features

  • Develop and apply advanced analytical techniques with Spark
  • Learn how to tell a compelling story with data science using Spark’s ecosystem
  • Explore data at scale and work with cutting edge data science methods

Book Description

Data science seeks to transform the world using data, and this is typically achieved
through disrupting and changing real processes in real industries. In order to operate at this level you need to build data science solutions of substance –solutions that solve real problems. Spark has emerged as the big data platform of choice for data scientists due to its speed, scalability, and easy-to-use APIs.
This book deep dives into using Spark to deliver production-grade data science
solutions. This process is demonstrated by exploring the construction of a sophisticated global news analysis service that uses Spark to generate continuous geopolitical and current affairs insights.You will learn all about the core Spark APIs and take a comprehensive tour of advanced libraries, including Spark SQL, Spark Streaming, MLlib, and more.

You will be introduced to advanced techniques and methods that will help you to construct commercial-grade data products. Focusing on a sequence of tutorials that deliver a working news intelligence service, you will learn about advanced Spark architectures, how to work with geographic data in Spark, and how to tune Spark algorithms so they scale linearly.

What you will learn

  • Learn the design patterns that integrate Spark into industrialized data science pipelines
  • See how commercial data scientists design scalable code and reusable code for data science services
  • Explore cutting edge data science methods so that you can study trends
  • and causality
  • Discover advanced programming techniques using RDD and the DataFrame and Dataset APIs
  • Find out how Spark can be used as a universal ingestion engine tool and as a web scraper
  • Practice the implementation of advanced topics in graph processing, such as community detection and contact chaining
  • Get to know the best practices when performing Extended Exploratory Data Analysis, commonly used in commercial data science teams
  • Study advanced Spark concepts, solution design patterns, and integration architectures
  • Demonstrate powerful data science pipelines

Who this book is for

This book is for those who have beginner-level familiarity with the Spark architecture and data science applications, especially those who are looking for a challenge and want to learn cutting edge techniques. This book assumes working knowledge of data science, common machine learning methods, and popular data science tools, and assumes you have previously run proof of concept studies and built prototypes.

Table of Contents

  1. The Big Data Science Ecosystem
  2. Data Acquisition
  3. Input Formats and Schema
  4. Exploratory Data Analysis
  5. Spark for Geographic Analysis
  6. Scraping Link Based External Data
  7. Building Communities
  8. Building a Recommendation System
  9. News Dictionary and Real Time Tagging System
  10. Story Deduplication and Mutation
  11. Anomaly Detection on Sentiment Analysis
  12. TrendCalculus
  13. Secure Data
  14. Scalable Algorithms
https://github.com/packtpublishing/mastering-spark-for-data-science
PDF ISBN: 978-1-78588-828-1
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 560