October 2017
Beginner to intermediate
572 pages
26h 1m
English
> install.packages("SuperLearner")
> install.packages("caret")
> install.packages("glmnet")
> install.packages("xgboost")
> install.packages("randomForest")
> library(SuperLearner)
> listWrappers()
It will list all prediction algorithms and screening algorithms as follows:

> data(Boston, package="MASS") > training = sample(nrow(Boston), 100) > X = Boston[training, ] > X_Hold = Boston[-training, ] > Y = Boston$medv[training, ] > Y_Hold = Boston$medv[-training, ] We can fit single model using the ...
Read now
Unlock full access