~/talk

APL-Inspired Techniques for Advanced NumPy

Talkat PyData Tel Aviv 2024 · 2024-09-25..09-26· [python, machine-learning]
links:none on file
slides:none on file

Shows concrete APL techniques applied to NumPy and other array libraries to eliminate Python loops, cut allocations, and speed up code: replaces nested conditionals (abs then square) with vectorized masks and elementwise ops, implements pairwise products and outer-indexed matrices without loops, and expresses matrix multiplies and diagonal sums via np.einsum. Demonstrates prefix scan/fold patterns for cumulative sums and reductions, emphasizes memory care with += in-place updates, and presents a normalization pipeline (clip, pow, divide) written as composed array ops that run in C and use less memory.

AI-written summary · about

~/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.