The modern Python AI stack: an overview of TensorFlow

The modern Python AI stack: an overview of TensorFlow

7874898d532b989d3a1108cade372cd2?s=128

Dražen Lučanin

April 20, 2017
Tweet

Transcript

  1. The modern Python AI stack: an overview of TensorFlow Dražen

    Lučanin
  2. AI: The Next Big Thing™ • Communication was the Internet’s

    killer app – web apps storing data to DBs ruled • My view… AI will be the next killer app – Faster & cheaper GPU hardware – Lots of R&D around machine learning – Cool applications • Self-driving cars • Good speech recognition • Automating repetitive manual tasks • “The secret sauce”
  3. Getting into AI • …probably a good idea • Applying

    AI != researching AI • Modern AI frameworks – Torch (Facebook) – Theano (academy) – TensorFlow (Google)
  4. TensorFlow (TF) • Great AI framework built in Google –

    Easy for developers and researchers – Production-ready • MapReduce – White paper only – Hadoop became the standard • TF open sourced to became the standard • Model marketplace
  5. TF Overview • DataFlow programming language • describe a graph

    of interacting operations that run entirely outside Python – Graph – Session
  6. TF API • Low-level API (for researchers) • High-level API

    (GTD) • Example
  7. Performance • CPU (C++ implementation – pretty efficient) • GPU

    – even faster! • JIT compiler – Speed things up by adding a single line of code – Experimental • XLA compiler – Ahead-of time compilation – Run on embedded devices (phones, IoT)
  8. TensorBoard

  9. Deployment • Google Cloud & AWS offer VMs with GPUs

    • FloydHub – Heroku for AI – https://www.floydhub.com/
  10. Learning • Easy riding – https://changelog.com/podcast/219 – TF Dev Summit

    ‘17 videos – https://events.withgoogle.com/tensorflow-dev-summit/ • Docs & tutorial – https://www.tensorflow.org/get_started/get_started – https://medium.freecodecamp.com/big-picture-machine-learning-classifying-text- with-neural-networks-and-tensorflow-d94036ac2274 • Goood free books – ESL – http://statweb.stanford.edu/~tibs/ElemStatLearn/ – Michael Nielsen – http://neuralnetworksanddeeplearning.com/ • Research – http://distill.pub/
  11. Thanks! • Dražen Lučanin • @metakermit • Building apps with

    a kick! https://punkrockdev.com/