Machine Learning Engineering with Python
- Chapter 1 - Introduction to Machine Learning Engineering
- Chapter 2 - The Machine Learning Development Process
- Chapter 3 - From Model To Model Factory
- Chapter 4 - User Defined Libraries
- Chapter 5 - Deployment Architecture and Tools
- Chapter 6 - Scaling Up
- Chapter 7 - Example 1: User Defined Libraries for ML Workflows
- Chapter 8 - Example 2: ML Microservices
- Chapter 9 - Example 3: ETML (Extract Transform Machine Learn)
conda install -c conda-forge pyspark I suggest following an online tutorial like this or this.
If on Ubuntu you may have to install Java and Scala if not already installed, I did this by
sudo apt install default-jre
sudo apt install default-jdk
sudo apt install scalaEnded up running this tutorial with the following changes
- Extracted spark standalone in /usr/local/spark
- Used my conda python dist for PYSPARK_PYTHON
(base) andrew@andrew-ThinkStation-P300:/home$ echo $SPARK_HOME
/usr/local/spark
(base) andrew@andrew-ThinkStation-P300:/home$ echo $PYSPARK_PYTHON
/home/andrew/anaconda3/bin/python
(base) andrew@andrew-ThinkStation-P300:/home$ echo $PATH
/home/andrew/anaconda3/bin:/home/andrew/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/bin:/sbin:/usr/local/spark/bin:/usr/local/spark/sbinI also had to perform this hack