Hands-On Data Analysis with Scala
Perform data collection, processing, manipulation, and visualization with Scala
- 298 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Hands-On Data Analysis with Scala
Perform data collection, processing, manipulation, and visualization with Scala
About This Book
Master scala's advanced techniques to solve real-world problems in data analysis and gain valuable insights from your data
Key Features
- A beginner's guide for performing data analysis loaded with numerous rich, practical examples
- Access to popular Scala libraries such as Breeze, Saddle for efficient data manipulation and exploratory analysis
- Develop applications in Scala for real-time analysis and machine learning in Apache Spark
Book Description
Efficient business decisions with an accurate sense of business data helps in delivering better performance across products and services. This book helps you to leverage the popular Scala libraries and tools for performing core data analysis tasks with ease.
The book begins with a quick overview of the building blocks of a standard data analysis process. You will learn to perform basic tasks like Extraction, Staging, Validation, Cleaning, and Shaping of datasets. You will later deep dive into the data exploration and visualization areas of the data analysis life cycle. You will make use of popular Scala libraries like Saddle, Breeze, Vegas, and PredictionIO for processing your datasets. You will learn statistical methods for deriving meaningful insights from data. You will also learn to create applications for Apache Spark 2.x on complex data analysis, in real-time. You will discover traditional machine learning techniques for doing data analysis. Furthermore, you will also be introduced to neural networks and deep learning from a data analysis standpoint.
By the end of this book, you will be capable of handling large sets of structured and unstructured data, perform exploratory analysis, and building efficient Scala applications for discovering and delivering insights
What you will learn
- Techniques to determine the validity and confidence level of data
- Apply quartiles and n-tiles to datasets to see how data is distributed into many buckets
- Create data pipelines that combine multiple data lifecycle steps
- Use built-in features to gain a deeper understanding of the data
- Apply Lasso regression analysis method to your data
- Compare Apache Spark API with traditional Apache Spark data analysis
Who this book is for
If you are a data scientist or a data analyst who wants to learn how to perform data analysis using Scala, this book is for you. All you need is knowledge of the basic fundamentals of Scala programming.
Frequently asked questions
Information
Section 1: Scala and Data Analysis Life Cycle
- Chapter 1, Scala Overview
- Chapter 2, Data Analysis Life Cycle
- Chapter 3, Data Ingestion
- Chapter 4, Data Exploration and Visualization
- Chapter 5, Applying Statistics and Hypothesis Testing
Scala Overview
- Most Java libraries and frameworks can be reused from Scala. Scala code is compiled into Java byte code and runs on JVM. This makes it seamless to use Java code that has already been written from a Scala program. In fact, it is not uncommon to have a mix of both Java and Scala codes within a single project.
- Scala's functional constructs can be used to write code that is simple, concise, and expressive.
- We can still use object-oriented features where they are a better fit.
- Installing and getting started with Scala
- Object-oriented and functional programming overview
- Scala case classes and the collection API
- Overview of Scala libraries for data analysis
Getting started with Scala
Running Scala code online
- Scastie
- ScalaFiddle
Scastie
ScalaFiddle
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Preface
- Section 1: Scala and Data Analysis Life Cycle
- Scala Overview
- Data Analysis Life Cycle
- Data Ingestion
- Data Exploration and Visualization
- Applying Statistics and Hypothesis Testing
- Section 2: Advanced Data Analysis and Machine Learning
- Introduction to Spark for Distributed Data Analysis
- Traditional Machine Learning for Data Analysis
- Section 3: Real-Time Data Analysis and Scalability
- Near Real-Time Data Analysis Using Streaming
- Working with Data at Scale
- Another Book You May Enjoy