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
│ ...