Udemy

XGBoost & Random Forest: Decision Trees + Boosting in R

Enroll Now
  • 16,922 Students
  • Updated 3/2026
4.4
(53 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
5 Hour(s) 57 Minute(s)
Language
English
Rating
4.4
(53 Ratings)

Course Overview

XGBoost & Random Forest: Decision Trees + Boosting in R

XGBoost, Random Forest, Decision Trees, Gradient Boosting, ROC Curve/AUC, Machine Learning in R (RStudio), rpart, party

Do you want to build predictive models with machine learning—and actually understand what’s happening under the hood?

Welcome to “Decision Trees, Random Forests, and Gradient Boosting in R.” This is a hands-on, learning-by-doing course where you’ll work with real datasets and build models step by step, using the most important tree-based methods in applied machine learning.

I’m Carlos Martínez (Ph.D., University of St. Gallen). I designed this course to be practical, structured, and rigorous, so you can go beyond “running code” and gain the judgment you need to build, tune, and evaluate models properly.

What you’ll learn

By the end of the course, you’ll be able to:

  • Understand how recursive partitioning works (the logic behind decision trees)

  • Build trees in R using rpart and ctree (conditional inference trees)

  • Control complexity, reduce overfitting, and improve generalization using:

    • complexity parameter (cp)

    • pruning strategies

  • Apply and compare two high-performance ensemble methods:

    • Random Forests

    • Gradient Boosting

  • Evaluate predictive performance using ROC curves and AUC, so you can compare models with a robust metric

What’s included

  • Video lessons + structured explanations

  • Real datasets and all course code (R scripts)

  • Practice assignments + detailed solutions, so you can self-check and build confidence

Who this course is for

  • University students and professionals who want practical machine learning skills

  • Analysts working in business intelligence, analytics, finance, operations, or data roles

  • Anyone who wants to learn tree-based modeling properly, from fundamentals to evaluation

Prerequisites

  • Basic comfort with spreadsheets

  • Basic familiarity with R (you don’t need to be advanced)

What students say

  • Stefan L.: “Even though the topic was new to me, the course is easy to understand and the RStudio exercises work as explained.”

  • Frank B.: “Very beneficial… well organized and easy to understand. It gave me new ideas to assess model validity.”

  • Steven H.: “A very good review before my test tomorrow.”

  • Al M.: “Excellent.”

If you want a clear, practical path to mastering decision trees and modern ensembles in R—and learning how to evaluate them correctly—this course is for you.

Enroll today, and I’ll see you in the first lesson.

Course Content

  • 7 section(s)
  • 73 lecture(s)
  • Section 1 Introducción
  • Section 2 Data Preprocessing
  • Section 3 Decisions Trees with CTREE
  • Section 4 Decisions Tress with RPART
  • Section 5 Random Forests
  • Section 6 Gradient Boosting Trees
  • Section 7 New section: Neural Network for Business Analytics

What You’ll Learn

  • The algorithm behind recursive partitioning decision trees, Construct conditional inference decision trees with R`s ctree function, Construct recursive partitioning decision trees with R`s rpart function, Learn to estimate Gini´s impurity, Construct ROC and estimate AUC, Random Forests with R´s randomForest package, Gradient Boosting with R´s XGBoost package, Deal with missing data

Reviews

  • S
    Stefan Lindegger
    5.0

    Obgleich die Thematik für mich neu ist, ist der Kurs gut verständlich und die Übungen in RStudio funktionieren gem. Anleitung in den Übungen.

  • C
    Cheng Chun-Ting
    3.5

    So far so good

  • S
    Salome Scherer
    4.0

    Great examples and definitions on the subject matter. - S

  • L
    Letao Li
    3.5

    The only tips is the slides need more figures and animation and less text

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed