~/talk

Making computation easier with cool Numpy tricks

Talkat PyData London 2018 · 2018-04-26..04-29· [python]
slides:none on file

Concrete claims and demos: Numpy yields real speedups (range/sum benchmarks show Python lists several times slower—examples ~6x and ~36x), and some routines (dot/transpose/view) avoid copies. Actual tools shown include broadcasting rules with worked shapes, stride_tricks sliding windows that build windows without copying, and einsum for memory‑efficient contractions. Examples include a convolution built from stride views plus einsum, memmap for a 10,000×10,000 file, and a mixin pattern to enforce a probability‑sum constraint — all shown working end‑to‑end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Why NumPy is essential for AI
  3. 2:43Array creation techniques
  4. 7:46NumPy broadcasting rules
  5. 12:39Advanced indexing and manipulation
  6. 28:57NumPy stride tricks
  7. 47:55Einstein summation for efficiency
  8. 1:01:30Implementing convolution with NumPy
  9. 1:10:47Custom NumPy mix-ins
  10. 1:22:38Memory-mapped files in NumPy
  11. 1:26:32Q&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.