gbmVivid.Rmd
This guide is designed as a quick-stop reference of how to use some
of the more popular machine learning R packages with vivid
.
In the following example, we use the air quality data for
regression.
The gbm
package in R stands for Generalized Boosted
Models. It offers an efficient implementation of gradient boosting
algorithms for classification, regression, and other machine learning
tasks.
# load data
aq <- na.omit(airquality)
# build SVM model
gb <- gbm(Ozone ~ .,
data = aq,
distribution = "gaussian")
# vivi matrix
vi <- vivi(data = aq, fit = gb, response = 'Ozone')
pdpPairs(data = aq,
fit = gb,
response = "Ozone",
nmax = 50,
gridSize = 4,
nIce = 10)