• 高性能Python
21年品牌 40万+商家 超1.5亿件商品

高性能Python

正版全新 可开发票

91.02 6.2折 148 全新

仅1件

北京朝阳
认证卖家担保交易快速发货售后保障

作者[美]Micha Gorelick,[英]Ian Ozsvald

出版社南京东南大学出版社有限公司

ISBN9787564194932

出版时间2020-07

装帧平装

开本16开

定价148元

货号11051789

上书时间2024-06-27

宏铭图书店

十二年老店
已实名 已认证 进店 收藏店铺

   商品详情   

品相描述:全新
商品描述
作者简介
    麦克·戈雷利克,Micha Gorelick是Fast Forward实验室的联合创始人,曾经是那里的一名疯狂的常驻科学家。他目前的工作围绕着机器学习研究和部署所带来的伦理和实际问题。,    伊恩·奥兹瓦尔,Ian Ozsvald是一名首席数据科学家兼团队教练。他是年度PyData伦敦会议的共同组织者,在伦敦经营着一家知名的数据科学咨询公司MorConsulting,并在国际上发表会议演讲。

目录
Foreword
Preface
1.Understanding Performant Python
  The Fundamental Computer System
  Computing Units
  Memory Units
  Communications Layers
  Putting the Fundamental Elements Together
  Idealized Computing Versus the Python Virtual Machine
  So Why Use Python
  How to Be a Highly Performant Programmer
  Good Working Practices
  Some Thoughts on Good Notebook Practice
  Getting the Joy Back into Your Work
2.Profiling to Find Bottlenecks.
  Profiling Efficiently
  Introducing the Julia Set
  Calculating the Full Julia Set
  Simple Approaches to Timing—print and a Decorator
  Simple Timing Using the Unix time Command
  Using the cProfile Module
  Visualizing cProfile Output with SnakeViz
  Using line_profiler for Line-by-Line Measurements
  Using memory_profiler to Diagnose Memory Usage
  Introspecting an Existing Process with PySpy
  Bytecode: Under the Hood
  Using the dis Module to Examine CPython Bytecode
  Different Approaches, Different Co mplexity
  Unit Testing During Optimization to Maintain Correctness
  No-op @profile Decorator
  Strategies to Profile Your Code Successfully
  Wrap-Up
3.Lists and Tuples
  A More Efficient Search
  Lists Versus Tuples
  Lists as Dynamic Arrays
  Tuples as Static Arrays
  Wrap-Up
4.Dictionaries and Sets.
  How Do Dictionaries and Sets Work
  Inserting and Retrieving
  Deletion
  Resizing
  Hash Functions and Entropy
  Dictionaries and Namespaces
  Wrap-Up
5.Iterators and Generators.
  Iterators for Infinite Series
  Lazy Generator Evaluation
  Wrap-Up
6.Matrix and Vector Computation.
  Introduction to the Problem
  Arent Python Lists Good Enough
  Problems with Allocating Too Much
  Memory Fragmentation
  Understanding perf
  Making Decisions with perfs Output
  Enter numpy
  Applying numpy to the Diffusion Problem
  Memory Allocations and In-Place Operations
  Selective Optimizations: Finding What Needs to Be Fixed
  numexpr: Making In-Place Operations Faster and Easier
  A Cautionary Tale: Verify “Optimizations"(scipy)
  Lessons from Matrix Optimizations
  Pandas
  Pandass Internal Model
  Applying a Function to Many Rows of Data
  Building DataFrames and Series from Partial Results Rather than
  Concatenating
  Theres More Than One (and Possibly a Faster) Way to Do a Job
  Advice for Effective Pandas Development asu
  Wrap-Up
7.Compiling to C.
  What Sort of Speed Gains Are Possible
  JIT Versus AOT Compilers
   Why Does Type Information Help the Code Run Faster
  Using a C Compiler
  Reviewing the Julia Set Example
  Cython
  Compiling a Pure Python Version Using Cython
  pyximport
  Cython Annotations to Analyze a Block of Code
  Adding Some Type Annotations
  Cython and numpy
  Parallelizing the Solution with OpenMP on One Machine
  Numba
  Numba to Compile NumPy for Pandas
  PyPy
  Garbage Collection Differences
  Running PyPy and Installing Modules
  A Summary of Speed Improvements
  When to Use Each Technology
  Other Upcoming Projects
  Graphics Processing Units (GPUs)
  Dynamic Graphs: PyTorch
  Basic GPU Profiling
  Performance Considerations of GPUs
  When to Use GPUs
  Foreign Function Interfaces
  ctypes
  cffi
  f2py
  CPython Module
  Wrap-Up
8.Asynchronous l/0.
9.The multiprocessing Module.
10.Clusters and Job Queues
11.Using Less RAM.
12.Lessons from the Field.
Index

内容摘要
你的Python代码也许运行正确,但是你需要运行得更快。本书针对Python 3进行了更新,经过拓展后的新版向你展示了如何在高数据量程序中定位性能瓶颈,显著提高代码速度。通过探索设计选择背后的基础理论,《高性能Python》将帮助你更深入地理解Python的实现。该如何利用多核架构和集群?或者该如何构建能够自由伸缩同时又不失可靠性的系统?有经验的Python程序员会学到很多问题的具体解决方案,了解到各个公司如何将高性能Python应用于社交媒体分析、产品机器学习等场景的曲折故事。

更好地掌握NumPy、Cython、profilers

了解Python如何抽象底层计算机架构

使用分析器来查找CPU世界和内存占用方面的瓶颈

选择适合的数据结构来编写高效的程序

加速矩阵和向量计算

使用工具将Python脚本编译成机器码

管理多I/O和并发操作

将多处理代码转换为在本地或远程集群上运行

使用Docker等工具更快地部署代码

精彩内容
你的Python代码也许运行正确,但是你需要运行得更快。本书针对Python 3进行了更新,经过拓展后的新版向你展示了如何在高数据量程序中定位性能瓶颈,显著提高代码速度。通过探索设计选择背后的基础理论,《高性能Python》将帮助你更深入地理解Python的实现。
该如何利用多核架构和集群?或者该如何构建能够自由伸缩同时又不失可靠性的系统?有经验的Python程序员会学到很多问题的具体解决方案,了解到各个公司如何将高性能Python应用于社交媒体分析、产品机器学习等场景的曲折故事。
     更好地掌握NumPy、Cython、profilers
     了解Python如何抽象底层计算机架构
     使用分析器来查找CPU世界和内存占用方面的瓶颈
     选择适合的数据结构来编写高效的程序
     加速矩阵和向量计算
     使用工具将Python脚本编译成机器码
     管理多I/O和并发操作
     将多处理代码转换为在本地或远程集群上运行
     使用Docker等工具更快地部署代码

   相关推荐   

—  没有更多了  —

以下为对购买帮助不大的评价

此功能需要访问孔网APP才能使用
暂时不用
打开孔网APP