Vik's Blog
  • Home
  • About Me
Sign in Subscribe

foreach

A collection of 2 posts
foreach

Monitoring Progress Inside a Foreach Loop

The foreach package for R is excellent, and allows for code to easily be run in parallel. One problem with foreach is that it creates new RScript instances for each iteration of the loop, which prevents status messages from being logged to the console output. This is particularly frustrating during
Feb 9, 2012 1 min read
foreach

Parallel R Model Prediction Building and Analytics

Modifying R code to run in parallel can lead to huge performance gains. Although a significant amount of code can easily be run in parallel, there are some learning techniques, such as the Support Vector Machine, that cannot be easily parallelized. However, there is an often overlooked way to speed
Jan 27, 2012 3 min read
Page 1 of 1
Vik's Blog © 2023
Powered by Ghost