Faster than Google? Optimization lessons in Python.
by
Radim Řehůřek
Upcoming SlideShare
Loading in...5
×

Radim Řehůřek - Faster than Google? Optimization lessons in Python.

593
-1

Published on

http://radimrehurek.com/pydata14.pdf

PyData Berlin 2014
Lessons from translating Google's deep learning algorithm into Python. Can a Python port compete with Google's tightly optimized C code? Spoiler: making use of Python and its vibrant ecosystem (generators, NumPy, Cython...), the optimized Python port is cleaner, more readable and clocks in—somewhat astonishingly—4x faster than Google's C. This is 12,000x faster than a naive, pure Python implementation and 100x faster than an optimized NumPy implementation. The talk will go over what went well (data streaming to process humongous datasets, parallelization and avoiding GIL with Cython, plugging into BLAS) as well as trouble along the way (BLAS idiosyncrasies, Cython issues, dead ends). The quest is also documented on my blog.

Published in: Data & Analytics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
593
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Radim Řehůřek - Faster than Google? Optimization lessons in Python.

  1. 1. Faster than Google? Optimization lessons in Python. by Radim Řehůřek
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×