~/talk

Fizz Buzz in Tensorflow

Talkat PyData Chicago 2016 · 2016-08-26..08-28· [machine-learning]
name:Joel Grus
links:none on file
slides:none on file

A neural network implemented with TensorFlow/Keras tries to learn the Fizz Buzz rule and succeeds unevenly: using binary encoding as input a one‑hidden‑layer net with 25 hidden neurons gets almost all outputs right and learns divisibility patterns (especially mod 15) by effectively ignoring bit flips, while tiny linear or logistic models fail and massive nets like 2,000 by 2,000 can reach perfect accuracy only stochastically. Code is on GitHub, visualizations and confusion tables show which numbers and mistakes the models actually make.

AI-written summary · about

  1. 0:00Introduction
  2. 4:19FizzBuzz problem
  3. 7:45ML approach to FizzBuzz
  4. 11:54Keras vs TensorFlow
  5. 14:01Testing regression models
  6. 15:46Neural networks with layers
  7. 17:35Deep learning and overfitting
  8. 18:38Analyzing neural logic
  9. 24:47Binary vs decimal encoding
  10. 25:49Lessons learned
  11. 26:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.