Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine-Learning-Engineering-with-Python

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)

Setting Up

PySpark

 conda install -c conda-forge pyspark 

Spark

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 scala

Ended up running this tutorial with the following changes

  1. Extracted spark standalone in /usr/local/spark
  2. 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/sbin

I also had to perform this hack

About

Machine Learning Engineering with Python

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages