目錄(77章)
倒序
- coverpage
- R High Performance Programming
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Understanding R's Performance – Why Are R Programs Sometimes Slow?
- Three constraints on computing performance – CPU RAM and disk I/O
- R is interpreted on the fly
- R is single-threaded
- R requires all data to be loaded into memory
- Algorithm design affects time and space complexity
- Summary
- Chapter 2. Profiling – Measuring Code's Performance
- Measuring total execution time
- Profiling the execution time
- Profiling memory utilization
- Monitoring memory utilization CPU utilization and disk I/O using OS tools
- Identifying and resolving bottlenecks
- Summary
- Chapter 3. Simple Tweaks to Make R Run Faster
- Vectorization
- Use of built-in functions
- Preallocating memory
- Use of simpler data structures
- Use of hash tables for frequent lookups on large data
- Seeking fast alternative packages in CRAN
- Summary
- Chapter 4. Using Compiled Code for Greater Speed
- Compiling R code before execution
- Using compiled languages in R
- Summary
- Chapter 5. Using GPUs to Run R Even Faster
- General purpose computing on GPUs
- R and GPUs
- Fast statistical modeling in R with gputools
- Summary
- Chapter 6. Simple Tweaks to Use Less RAM
- Reusing objects without taking up more memory
- Removing intermediate data when it is no longer needed
- Calculating values on the fly instead of storing them persistently
- Swapping active and nonactive data
- Summary
- Chapter 7. Processing Large Datasets with Limited RAM
- Using memory-efficient data structures
- Using memory-mapped files and processing data in chunks
- Summary
- Chapter 8. Multiplying Performance with Parallel Computing
- Data parallelism versus task parallelism
- Implementing data parallel algorithms
- Implementing task parallel algorithms
- Executing tasks in parallel on a cluster of computers
- Shared memory versus distributed memory parallelism
- Optimizing parallel performance
- Summary
- Chapter 9. Offloading Data Processing to Database Systems
- Extracting data into R versus processing data in a database
- Preprocessing data in a relational database using SQL
- Converting R expressions to SQL
- Running statistical and machine learning algorithms in a database
- Using columnar databases for improved performance
- Using array databases for maximum scientific-computing performance
- Summary
- Chapter 10. R and Big Data
- Understanding Hadoop
- Setting up Hadoop on Amazon Web Services
- Processing large datasets in batches using Hadoop
- Summary
- Index 更新時間:2021-08-06 19:17:18
推薦閱讀
- Learn ECMAScript(Second Edition)
- 高手是如何做產(chǎn)品設(shè)計的(全2冊)
- AngularJS Testing Cookbook
- Objective-C應(yīng)用開發(fā)全程實錄
- Mastering QGIS
- Hands-On JavaScript High Performance
- Mastering JBoss Enterprise Application Platform 7
- 從零開始學(xué)Linux編程
- Python High Performance Programming
- 零代碼實戰(zhàn):企業(yè)級應(yīng)用搭建與案例詳解
- Julia High Performance(Second Edition)
- Modular Programming with JavaScript
- UI動效設(shè)計從入門到精通
- 量子計算機編程:從入門到實踐
- ArcPy and ArcGIS(Second Edition)
- Apache Kafka 1.0 Cookbook
- 實戰(zhàn)圖解MACD波段交易技術(shù)
- 微信公眾平臺應(yīng)用開發(fā)實戰(zhàn)
- web2py Application Development Cookbook
- Beginning Application Development with TensorFlow and Keras
- 零基礎(chǔ)HTML+CSS+JavaScript學(xué)習(xí)筆記
- Ionic:Hybrid Mobile App Development
- 快速開發(fā)(紀念版)
- 計算機組裝與維護(第二版)
- Python程序設(shè)計
- 基于ASP.NET的Web應(yīng)用開發(fā)技術(shù)實用教程
- 完美講堂 Unity3D游戲特效設(shè)計實戰(zhàn)教程
- PHP Web開發(fā)快速入門及實例精選
- Vagrant開發(fā)運維實戰(zhàn)
- Microsoft Exchange Server PowerShell Essentials