Loop in parallel on one machine in R with the foreach and doParallel packages, with the iterators package covered for writing the loop itself.
Run parallel tasks on one machine in R with the snow and parallel packages, comparing clusterApply, clusterApplyLB, parLapply and parLapplyLB.
Compare a single classification tree in R with 500 bagged trees on out-of-bag and test errors, cumulative errors and variable importance measures.
Evaluate a single regression tree in R against 2000 bagged trees, comparing out-of-bag and test errors, cumulative errors and variable importance.
Part IV of tree based methods in R series. 3 R packages for classification analysis are compared - rpart, caret and mlr packages.
Fit a regression tree on the Carseats data in R, comparing the pruning parameter caret selects against the 1-SE rule that the rpart package recommends.
Cost-sensitive classification with rpart and caret in R, treating a missed High class as twice as expensive by altering the priors and the loss matrix.
Fit a CART classification model on the ISLR Carseats data with the rpart package in R, and tune the pruning parameter with the caret package.
Add overall and per-user average columns to an R data frame with base, plyr, dplyr and data.table, and time how long each of the five approaches takes.
Replace for-loops in R with the apply family of functions and the plyr package, using two worked examples that make the code shorter and easier to debug.