A Quick Primer on TensorFrames: Apache Spark and TensorFlow Together
summary
TensorFrames claims to let Spark and TensorFlow exchange tensors efficiently — TensorFrames lets Spark DataFrame talk to TensorFlow without pickling by using Spark’s binary format — and shows concrete speedups versus UDFs and Scala-only code, with optional GPU acceleration. Demos run on Databricks (Spark 2.1, Scala 2.11) and include MNIST: MNIST demo: softmax ~91% then CNN 98.95%. Notebooks and install steps are provided: Databricks + Spark 2.1 (Scala 2.11); install tensorflow and tensorframes (CPU demo; GPUs give more speed).
AI-written summary · about
chapters (11)
- 0:00Introduction to TensorFrames and speakers
- 6:07Neural networks basics
- 21:51TensorFlow overview
- 27:09Why TensorFrames
- 30:23Setting up Databricks Community Edition
- 48:10Installing libraries
- 49:12MNIST dataset
- 1:01:20Softmax regression
- 1:16:08Building a convolutional neural network
- 1:32:00TensorFrames with Spark
- 1:48:10Q&A
related talks
34mWorking with Tensorflow from the JVM #bbuzz
52mPractical Uses of Scala Tensorflow for Image Analysis
22mBringing Deep Learning into the Big Data Analytics
36mHigh-Performance Distributed Tensorflow
30mSpeed Up Your Spark Data Processing with a GPU
45mTensorly: A Flexible Python Framework for Machine Learning
20mTensorFlow.js Bringing Machine Learning to the Web and Beyond
36mScaling data workloads using the best of both worlds: pandas and Spark
