Book description
In this practical book, four Cloudera data scientists present a set of self-contained patterns for performing large-scale data analysis with Spark. The authors bring Spark, statistical methods, and real-world data sets together to teach you how to approach analytics problems by example.
You’ll start with an introduction to Spark and its ecosystem, and then dive into patterns that apply common techniques—classification, collaborative filtering, and anomaly detection among others—to fields such as genomics, security, and finance. If you have an entry-level understanding of machine learning and statistics, and you program in Java, Python, or Scala, you’ll find these patterns useful for working on your own data applications.
Publisher resources
Table of contents
- Foreword
- Preface
- 1. Analyzing Big Data
-
2. Introduction to Data Analysis with Scala and Spark
- Scala for Data Scientists
- The Spark Programming Model
- Record Linkage
- Getting Started: The Spark Shell and SparkContext
- Bringing Data from the Cluster to the Client
- Shipping Code from the Client to the Cluster
- Structuring Data with Tuples and Case Classes
- Aggregations
- Creating Histograms
- Summary Statistics for Continuous Variables
- Creating Reusable Code for Computing Summary Statistics
- Simple Variable Selection and Scoring
- Where to Go from Here
- 3. Recommending Music and the Audioscrobbler Data Set
- 4. Predicting Forest Cover with Decision Trees
- 5. Anomaly Detection in Network Traffic with K-means Clustering
-
6. Understanding Wikipedia with Latent Semantic Analysis
- The Term-Document Matrix
- Getting the Data
- Parsing and Preparing the Data
- Lemmatization
- Computing the TF-IDFs
- Singular Value Decomposition
- Finding Important Concepts
- Querying and Scoring with the Low-Dimensional Representation
- Term-Term Relevance
- Document-Document Relevance
- Term-Document Relevance
- Multiple-Term Queries
- Where to Go from Here
-
7. Analyzing Co-occurrence Networks with GraphX
- The MEDLINE Citation Index: A Network Analysis
- Getting the Data
- Parsing XML Documents with Scala’s XML Library
- Analyzing the MeSH Major Topics and Their Co-occurrences
- Constructing a Co-occurrence Network with GraphX
- Understanding the Structure of Networks
- Filtering Out Noisy Edges
- Small-World Networks
- Where to Go from Here
- 8. Geospatial and Temporal Data Analysis on the New York City Taxi Trip Data
- 9. Estimating Financial Risk through Monte Carlo Simulation
- 10. Analyzing Genomics Data and the BDG Project
- 11. Analyzing Neuroimaging Data with PySpark and Thunder
- A. Deeper into Spark
- B. Upcoming MLlib Pipelines API
- Index
Product information
- Title: Advanced Analytics with Spark
- Author(s):
- Release date: April 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491912768
You might also like
book
Advanced Analytics with PySpark
The amount of data being generated today is staggering and growing. Apache Spark has emerged as …
book
Advanced Analytics with Spark, 2nd Edition
In the second edition of this practical book, four Cloudera data scientists present a set of …
book
Hands-On Big Data Analytics with PySpark
Use PySpark to easily crush messy data at-scale and discover proven techniques to create testable, immutable, …
video
Mastering Big Data Analytics with PySpark
PySpark helps you perform data analysis at-scale; it enables you to build more scalable analyses and …