High Performance Python: Practical Performant Programming for Humans, 2/e (Paperback)

Gorelick, Micha, Ozsvald, Ian

買這商品的人也買了...

商品描述

Your Python code may run correctly, but you need it to run faster. Updated for Python 3, this expanded edition shows you how to locate performance bottlenecks and significantly speed up your code in high-data-volume programs. By exploring the fundamental theory behind design choices, High Performance Python helps you gain a deeper understanding of Python's implementation.

How do you take advantage of multicore architectures or clusters? Or build a system that scales up and down without losing reliability? Experienced Python programmers will learn concrete solutions to many issues, along with war stories from companies that use high-performance Python for social media analytics, productionized machine learning, and more.

  • Get a better grasp of NumPy, Cython, and profilers
  • Learn how Python abstracts the underlying computer architecture
  • Use profiling to find bottlenecks in CPU time and memory usage
  • Write efficient programs by choosing appropriate data structures
  • Speed up matrix and vector computations
  • Use tools to compile Python down to machine code
  • Manage multiple I/O and computational operations concurrently
  • Convert multiprocessing code to run on local or remote clusters
  • Deploy code faster using tools like Docker

商品描述(中文翻譯)

您的Python程式碼可能能正確運行,但您需要讓它運行得更快。這本更新至Python 3的擴展版將向您展示如何找到性能瓶頸並在高數據量程式中顯著加快程式碼的運行速度。通過探索設計選擇背後的基本理論,高性能Python幫助您更深入地了解Python的實現。

您如何利用多核架構或叢集?或者構建一個在不損失可靠性的情況下能夠擴展上下的系統?有經驗的Python程序員將學習到許多問題的具體解決方案,以及使用高性能Python進行社交媒體分析、生產化機器學習等的公司的實戰經驗。

- 更好地掌握NumPy、Cython和性能分析工具
- 學習Python如何抽象底層計算機架構
- 使用性能分析工具找到CPU時間和內存使用的瓶頸
- 通過選擇適當的數據結構來編寫高效的程式
- 加快矩陣和向量計算的速度
- 使用工具將Python編譯為機器碼
- 同時管理多個I/O和計算操作
- 將多進程程式碼轉換為在本地或遠程叢集上運行
- 使用Docker等工具更快地部署程式

作者簡介

Micha Gorelick cofounded Fast Forward Labs as resident mad scientist. The company was acquired by Cloudera in 2017. He works on many issues from machine learning to performant stream algorithms.

Ian is a chief data scientist and coach. He co-organizes the annualPyDataLondon conference with 700+ attendees and the associated 10,000+ member monthly meetup. He runs the established Mor Consulting Data Science consultancy in London and gives conference talks internationally, often as keynote speaker. He has 17 years ofexperience as a senior data science leader, trainer and team coach.For fun he's walked by his high-energy Springer Spaniel, surfs theCornish coast and drinks fine coffee. Past talks and articles can befound at: https: //ianozsvald.com/

作者簡介(中文翻譯)

Micha Gorelick 是 Fast Forward Labs 的創辦人之一,擔任駐場瘋狂科學家。該公司於2017年被 Cloudera 收購。他從事許多議題,從機器學習到高效的流算法。

Ian 是一位首席數據科學家和教練。他與700多名與會者共同組織了年度的 PyDataLondon 會議,並舉辦了相關的每月聚會,成員超過10,000人。他在倫敦經營著知名的 Mor Consulting Data Science 咨詢公司,並在國際上發表會議演講,通常擔任主題演講嘉賓。他擁有17年的資深數據科學領導、培訓和團隊教練經驗。在閒暇時,他喜歡帶著他精力充沛的 Springer Spaniel 散步,衝浪康沃爾海岸並品嚐美味的咖啡。過去的演講和文章可以在以下網址找到: https://ianozsvald.com/