Parallel Computing in R

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 10

  • @danielribes423
    @danielribes423 Год назад +1

    Thanks so much Matt for this amazing video. You changed my point of view when it comes to parallel computing. I thought it was only possible running some instances of R at the same time, but you showed it was not necessary to do so in order to reduce the running time of a model.
    The exercise I want to do now is to find out the running time to run 10000 iterations with as many instances as the number of cores of the model and compare it with the time required with a single instance with doParallel cluster.

    • @MattBirch
      @MattBirch  Год назад

      Try a few ways! And have fun with it! It is an awesome tool that I hadn't known before the last year or so!

  • @LectorFurtivo
    @LectorFurtivo Год назад +1

    Thanks for the video! It's interesting to see that three cores performed quite similarly to seven cores.

    • @MattBirch
      @MattBirch  Год назад

      My pleasure! And yeah, this code was simple enough that there was not much to be gained by going to more cores.
      I am working on a project at work that has hundreds of lines of code within each iteration of the foreach loop, including training multiple ML models and doing a bunch of calculations. That is complex enough that every core seems to count. I run it in a cluster with 62 cores. More might even be good, but that is the best I have access to. It all just depends.

  • @umber_wall
    @umber_wall Месяц назад +1

    Awesome thanks!

  • @Aim4sixmeals
    @Aim4sixmeals Год назад +1

    Could u do a video for beginners in R?

    • @MattBirch
      @MattBirch  Год назад +1

      I will over time!
      There are a few in this playlist that may be helpful to you: ruclips.net/p/PLWd1brOYtkZXYV7MEus3mtp77fyuHDwFy

  • @tarasst6887
    @tarasst6887 Год назад +1

    🎉🎉🎉

    • @MattBirch
      @MattBirch  Год назад

      Haha, glad you liked it!