Vik's Blog
  • Home
  • About Me
Subscribe
Tagged

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

  • Vik Paruchuri
Vik Paruchuri 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

  • Vik Paruchuri
Vik Paruchuri Jan 27, 2012 • 3 min read
Vik's Blog © 2022
Powered by Ghost