Create scalable machine learning applications to power a modern data-driven business using Spark
Apache Spark is a framework for distributed computing that is designed from the ground up to be optimized for low latency tasks and in-memory data storage. It is one of the few frameworks for parallel computing that combines speed, scalability, in-memory processing, and fault tolerance with ease of programming and a flexible, expressive, and powerful API design.
This book guides you through the basics of Spark's API used to load and process data and prepare the data to use as input to the various machine learning models. There are detailed examples and real-world use cases for you to explore common machine learning models including recommender systems, classification, regression, clustering, and dimensionality reduction. You will cover advanced topics such as working with large-scale text data, and methods for online machine learning and model evaluation using Spark Streaming.
What You Will Learn
Create your first Spark program in Scala, Java, and Python
Set up and configure a development environment for Spark on your own computer, as well as on Amazon EC2
Access public machine learning datasets and use Spark to load, process, clean, and transform data
Use Spark's machine learning library to implement programs utilizing well-known machine learning models including collaborative filtering, classification, regression, clustering, and dimensionality reduction
Write Spark functions to evaluate the performance of your machine learning models
Deal with large-scale text data, including feature extraction and using text data as input to your machine learning models
Explore online learning methods and use Spark Streaming for online learning and model evaluation
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.