O'Reilly logo

Machine Learning with Spark - Second Edition by Nick Pentreath, Manpreet Singh Ghotra, Rajdeep Dua

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring and visualizing your data

Source code for the chapter can be found at PATH/spark-ml/Chapter04:

  • Python code is available at /MYPATH/spark-ml/Chapter_04/python
  • Scala code is available at/MYPATH/spark-ml/Chapter_04/scala

Pythons Samples are available for both version 1.6.2 and 2.0.0; we will focus on 2.0.0 in this book:

├── 1.6.2│   ├── com│   │   ├── __init__.py│   │   └── sparksamples│   │       ├── __init__.py│   │       ├── movie_data.py│   │       ├── plot_user_ages.py│   │       ├── plot_user_occupations.py│   │       ├── rating_data.py│   │       ├── user_data.py│   │       ├── util.py│   │       │   └── __init__.py├── 2.0.0│   └── com│       ├── __init__.py│       └── sparksamples│           ├── __init__.py│           ├── movie_data.py│           ├── plot_user_ages.py│           ├── plot_user_occupations.py│           ├── rating_data.py│ ├── spark-warehouse ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required