LoslegenKostenlos loslegen

Specify a boosted ensemble

Boosting is more advanced than bagging because models are trained sequentially, with each model improving on the previous one, instead of all models learning in parallel. There are several R packages that implement this powerful algorithm, and tidymodels has you covered. It provides a simple interface to generate boosted trees.

Your task in the following three steps is to create the initial specification for an ensemble of boosted trees that you will use in the following exercises.

Diese Übung ist Teil des Kurses

Machine Learning with Tree-Based Models in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Specify the model class
boost_spec <-___()

boost_spec
Code bearbeiten und ausführen