Parallel Computing in R
Offered By: DataCamp
Course Description
Overview
This course covers in detail the tools available in R for parallel computing.
With an increasing amount of data and more complex algorithms available to scientists and practitioners today, parallel processing is almost always a must, and in fact, is expected in packages implementing time-consuming methods. This course introduces you to concepts and tools available in R for parallel computing and provides solutions to a few important non-trivial issues in parallel processing like reproducibility, generating random numbers and load balancing.
With an increasing amount of data and more complex algorithms available to scientists and practitioners today, parallel processing is almost always a must, and in fact, is expected in packages implementing time-consuming methods. This course introduces you to concepts and tools available in R for parallel computing and provides solutions to a few important non-trivial issues in parallel processing like reproducibility, generating random numbers and load balancing.
Syllabus
Can I Run My Application in Parallel?
-In order to take advantage of parallel environment, the application needs to be split into pieces. In this introductory chapter, you will learn about different ways of partitioning and how it fits different hardware configurations. You will also be introduced to various R packages that support parallel programming.
The parallel Package
-This chapter will dive deeper into the parallel package. You'll learn about the various backends and their differences and get a deep understanding about the workhorse of the package, namely the clusterApply() function. Strategies for task segmentation including their pitfalls will also be discussed.
foreach, future.apply and Load Balancing
-In this chapter, you will look at two user-contributed packages, namely foreach and future.apply, which make parallel programming in R even easier. They are built on top of the parallel and future packages. In the last lesson of this chapter, you will learn about the advantages and pitfalls of load balancing and scheduling.
Random Numbers and Reproducibility
-Now you might ask, can I reproduce my results if the application uses random numbers? Can I generate the same results regardless of if the code runs sequentially or in parallel? This chapter will answer these questions. You will learn about a random number generator well suited to a parallel environment and how the various packages make use of it.
-In order to take advantage of parallel environment, the application needs to be split into pieces. In this introductory chapter, you will learn about different ways of partitioning and how it fits different hardware configurations. You will also be introduced to various R packages that support parallel programming.
The parallel Package
-This chapter will dive deeper into the parallel package. You'll learn about the various backends and their differences and get a deep understanding about the workhorse of the package, namely the clusterApply() function. Strategies for task segmentation including their pitfalls will also be discussed.
foreach, future.apply and Load Balancing
-In this chapter, you will look at two user-contributed packages, namely foreach and future.apply, which make parallel programming in R even easier. They are built on top of the parallel and future packages. In the last lesson of this chapter, you will learn about the advantages and pitfalls of load balancing and scheduling.
Random Numbers and Reproducibility
-Now you might ask, can I reproduce my results if the application uses random numbers? Can I generate the same results regardless of if the code runs sequentially or in parallel? This chapter will answer these questions. You will learn about a random number generator well suited to a parallel environment and how the various packages make use of it.
Taught by
Hana Sevcikova
Related Courses
Amazon Elastic File System (EFS) Performance (Traditional Chinese)Amazon Web Services via AWS Skill Builder Amazon Simple Storage Service (Amazon S3) Performance Optimization (Traditional Chinese)
Amazon Web Services via AWS Skill Builder Amazon Simple Storage Service (Amazon S3) Performance Optimization (Traditional Chinese)
Amazon Web Services via AWS Skill Builder Building with Amazon Aurora Databases (Simplified Chinese)
Amazon Web Services via AWS Skill Builder Advanced .NET with TPL & PLINQ: Conducting Performance Boost
Coursera Project Network via Coursera