A script to demonstrate using TensorFlow in Spark with Amazon EMR and sparklyr.
- Create an EMR cluster for sparklyr, connect to EMR and install required tools:
install.packages(tensorflow)
devtools::install_github("rstudio/tfdeploy")
- Connect to Spark using
sparklyr
, copy some data and the mtcars TensorFlow model: