Parallel Programming in R
Unlock the power of parallel computing in R. Enhance your data analysis skills, speed up computations, and process large datasets effortlessly.
Commencer Le Cours Gratuitement4 heures16 vidéos49 exercices
Créez votre compte gratuit
ou
En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données sont stockées aux États-Unis.Formation de 2 personnes ou plus ?
Essayer DataCamp for BusinessApprécié par les apprenants de milliers d'entreprises
Description du cours
Speed Up Your Code with Parallel Programming
R programming language is a key part of the modern tech stack. But sometimes, R code takes a long time to run. The good news is that most modern computers have multiple processors. This course on parallel programming can help you speed up your code by harnessing the hardware you already have.
Learn the Key Concepts
In this course, you will systematically learn the key concepts of parallel programming. You will profile and benchmark common computations like bootstraps and function mappings. You will also learn to identify operations that can benefit from parallelization.
Use R Packages to Parrallelize Operations
As you progress, you’ll explore a suite of mature R packages (parallel, foreach, future). You will learn to use these packages to parallelize operations with lists, matrices, and data frames. Working through a variety of tasks, you will gain the skills to rein in the execution time of nested for loops. You will also learn how to monitor, debug, and resolve reproducibility issues of parallelized code.
Parallelize Your Existing Code
With these tools under your belt, you will be able to write parallelized code that runs significantly faster. By the time you finish, you’ll have the skills to parallelize and maintain existing code in a principled manner.
Formation de 2 personnes ou plus ?
Donnez à votre équipe l’accès à la plateforme DataCamp complète, y compris toutes les fonctionnalités.Dans les titres suivants
R Développeur
Aller à la piste- 1
Introduction to Parallel Programming
GratuitLearn to identify those pesky speed bottlenecks in your R code. You will run a classic numerical operation in parallel and learn to check if it helps!
- 2
Parallel and foreach
Use parallelism in R for a variety of situations while efficiently managing dependencies. Turn those slow loops into smooth-running machines!
parLapply in real life50 xpRunning code on the cluster100 xpA parallel filter100 xpThe parallel apply family50 xpHealthcare spending with clusterMap()100 xpPopulation growth rates with mclapply()100 xpColumn operations with trading volumes100 xpUsing foreach50 xpLooping with foreach100 xpforeach with variables and packages100 xpAdvanced foreach operations50 xpIterate and filter100 xpNested foreach loops for price trends100 xp - 3
Parallel Futures
Dive deep into the use of futures in parallel programming. Learn to process vectors, lists, and data frames in parallel, all the while keeping your code easy to maintain.
Futures50 xpDelayed square roots50 xpFutures for advertisement targets100 xpFunding social sciences with futures100 xpMapping the future50 xpRanking stocks with furrr100 xpFurrr type specification100 xpAdvanced operations with furrr50 xpProcessing multiple inputs100 xpThe furrr configuration100 xpDo more with future_map()50 xpGrouped bootstrap of stock prices100 xpRow-binding future_map results100 xp - 4
Troubleshooting in Parallel
Learn to manage memory for parallel processes. Make your code reproducible, and add efficient debugging to your parallel programming toolkit.
Monitoring and managing memory50 xpMemory profile of parLapply()50 xpChunking the bootstrap100 xpReproducibility in parallel50 xpReproducible lottery results100 xpReproduce the bootstrap100 xpDebugging in parallel50 xpThe debugging steps100 xpDebugging correlations100 xpAdvanced debugging50 xpThe bootstrap error100 xpCatch modeling errors100 xpThat's a wrap!50 xp
Formation de 2 personnes ou plus ?
Donnez à votre équipe l’accès à la plateforme DataCamp complète, y compris toutes les fonctionnalités.Dans les titres suivants
R Développeur
Aller à la pistecollaborateurs
Nabeel Imam
Voir PlusData Scientist
Qu’est-ce que les autres apprenants ont à dire ?
Inscrivez-vous 15 millions d’apprenants et commencer Parallel Programming in R Aujourd’hui!
Créez votre compte gratuit
ou
En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données sont stockées aux États-Unis.