~/talk

Ten Ways To Fizz Buzz

Talkat PyData Global 2020 · 2020-11-11..11-15· [python, machine-learning]
name:Joel Grus
links:none on file
slides:none on file

Ten concrete Python solutions appear and what matters is the guts not the theme: a naïve 100 print statements implementation, the canonical if/elif/else, a cycle of 15 trick, Euclid and trig-based math constructions, a baffling big number hack, an itertools pipeline that uses no modulus operator, a surprising random guessing works variant, a NumPy weights×vector argmax solution, and a TensorFlow/PyTorch model trained on 101–1023 that actually generalizes to 1–100.

AI-written summary · about

  1. 0:00Welcome!
  2. 0:10Fizz Buzz overview
  3. 1:55100 print statements
  4. 2:16if/elif/elif/else
  5. 2:34the cycle of 15
  6. 2:58Euclid's Solution
  7. 3:28Trigonometry
  8. 3:56A big number
  9. 4:21Infinite Iterables
  10. 4:51Random Guessing
  11. 5:29Matrix Multiplication
  12. 5:55Fizz Buzz in Tensorflow
~/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.