Scala Data Analysis Cookbook
Navigate the world of data analysis, visualization, and machine learning with over 100 hands-on Scala recipes
About This Book
- Implement Scala in your data analysis using features from Spark, Breeze, and Zeppelin
- Scale up your data anlytics infrastructure with practical recipes for Scala machine learning
- Recipes for every stage of the data analysis process, from reading and collecting data to distributed analytics
Who This Book Is For
This book shows data scientists and analysts how to leverage their existing knowledge of Scala for quality and scalable data analysis.
What You Will Learn
- Familiarize and set up the Breeze and Spark libraries and use data structures
- Import data from a host of possible sources and create dataframes from CSV
- Clean, validate and transform data using Scala to pre-process numerical and string data
- Integrate quintessential machine learning algorithms using Scala stack
- Bundle and scale up Spark jobs by deploying them into a variety of cluster managers
- Run streaming and graph analytics in Spark to visualize data, enabling exploratory analysis
This book will introduce you to the most popular Scala tools, libraries, and frameworks through practical recipes around loading, manipulating, and preparing your data. It will also help you explore and make sense of your data using stunning and insightfulvisualizations, and machine learning toolkits.
Starting with introductory recipes on utilizing the Breeze and Spark libraries, get to grips withhow to import data from a host of possible sources and how to pre-process numerical, string, and date data. Next, you'll get an understanding of concepts that will help you visualize data using the Apache Zeppelin and Bokeh bindings in Scala, enabling exploratory data analysis. iscover how to program quintessential machine learning algorithms using Spark ML library. Work through steps to scale your machine learning models and deploy them into a standalone cluster, EC2, YARN, and Mesos. Finally dip into the powerful options presented by Spark Streaming, and machine learning for streaming data, as well as utilizing Spark GraphX.
Style and approach
This book contains a rich set of recipes that covers the full spectrum of interesting data analysis tasks and will help you revolutionize your data analysis skills using Scala and Spark.