Unlock the complexities of machine learning algorithms in Spark to generate useful data insights through this data analysis tutorial
复制代码
Book Description
The purpose of machine learning is to build systems that learn from data. Being able to understand trends and patterns in complex data is critical to success; it is one of the key strategies to unlock growth in the challenging contemporary marketplace today. With the meteoric rise of machine learning, developers are now keen on finding out how can they make their Spark applications smarter.
This book gives you access to transform data into actionable knowledge. The book commences by defining machine learning primitives by the MLlib and H2O libraries. You will learn how to use Binary classification to detect the Higgs Boson particle in the huge amount of data produced by CERN particle collider and classify daily health activities using ensemble Methods for Multi-Class Classification.
Next, you will solve a typical regression problem involving flight delay predictions and write sophisticated Spark pipelines. You will analyze Twitter data with help of the doc2vec algorithm and K-means clustering. Finally, you will build different pattern mining models using MLlib, perform complex manipulation of DataFrames using Spark and Spark SQL, and deploy your app in a Spark streaming environment.
Table of Contents
1: INTRODUCTION TO LARGE-SCALE MACHINE LEARNING AND SPARK
2: DETECTING DARK MATTER - THE HIGGS-BOSON PARTICLE
3: ENSEMBLE METHODS FOR MULTI-CLASS CLASSIFICATION
4: PREDICTING MOVIE REVIEWS USING NLP AND SPARK STREAMING
5: WORD2VEC FOR PREDICTION AND CLUSTERING
6: EXTRACTING PATTERNS FROM CLICKSTREAM DATA
7: GRAPH ANALYTICS WITH GRAPHX
8: LENDING CLUB LOAN PREDICTION
What You Will Learn
Use Spark streams to cluster tweets online
Run the PageRank algorithm to compute user influence
Perform complex manipulation of DataFrames using Spark
Define Spark pipelines to compose individual data transformations
Utilize generated models for off-line/on-line prediction
Transfer the learning from an ensemble to a simpler Neural Network
Understand basic graph properties and important graph operations
Use GraphFrames, an extension of DataFrames to graphs, to study graphs using an elegant query language
Use K-means algorithm to cluster movie reviews dataset
Authors
Alex Tellez
Alex Tellez is a life-long data hacker/enthusiast with a passion for data science and its application to business problems. He has a wealth of experience working across multiple industries, including banking, health care, online dating, human resources, and online gaming. Alex has also given multiple talks at various AI/machine learning conferences, in addition to lectures at universities about neural networks. When he’s not neck-deep in a textbook, Alex enjoys spending time with family, riding bikes, and utilizing machine learning to feed his French wine curiosity!
Max Pumperla
Max Pumperla is a data scientist and engineer specializing in deep learning and its applications. He currently works as a deep learning engineer at Skymind and is a co-founder of aetros.com. Max is the author and maintainer of several Python packages, including elephas, a distributed deep learning library using Spark. His open source footprint includes contributions to many popular machine learning libraries, such as keras, deeplearning4j, and hyperopt. He holds a PhD in algebraic geometry from the University of Hamburg.