Book Image

Spark Cookbook

By : Rishi Yadav
Book Image

Spark Cookbook

By: Rishi Yadav

Overview of this book

Table of Contents (19 chapters)
Spark Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Getting Started with Machine Learning Using MLlib

This chapter is divided into the following recipes:

  • Creating vectors

  • Creating a labeled point

  • Creating matrices

  • Calculating summary statistics

  • Calculating correlation

  • Doing hypothesis testing

  • Creating machine learning pipelines using ML