<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Trees &amp; Ensembles on DATATWEETS</title><link>/courses/machine-learning/trees-and-ensembles/</link><description>Recent content in Trees &amp; Ensembles on DATATWEETS</description><generator>Hugo</generator><language>en</language><copyright>Copyright (c) 2025 Datatweets</copyright><lastBuildDate>Fri, 14 Nov 2025 09:00:00 +0200</lastBuildDate><atom:link href="/courses/machine-learning/trees-and-ensembles/index.xml" rel="self" type="application/rss+xml"/><item><title>Lesson 1 - Foundations of Decision Trees</title><link>/courses/machine-learning/trees-and-ensembles/lesson-1-foundations-of-decision-trees/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>/courses/machine-learning/trees-and-ensembles/lesson-1-foundations-of-decision-trees/</guid><description>Learn the building blocks of decision trees: nodes, splits, and leaves. See how a tree asks yes/no questions, how Gini and entropy measure node impurity, and how the best split is chosen to reduce that impurity. You will explore the real Adult Income dataset and read a clear depth-3 tree.</description></item><item><title>Lesson 2 - Building Decision Trees with Scikit-Learn</title><link>/courses/machine-learning/trees-and-ensembles/lesson-2-building-decision-trees-with-scikit-learn/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>/courses/machine-learning/trees-and-ensembles/lesson-2-building-decision-trees-with-scikit-learn/</guid><description>Learn the full scikit-learn DecisionTreeClassifier workflow: encode categorical columns with get_dummies, split into train and test sets, fit and score a tree, and read which features it relied on. You will train a depth-limited tree on the real Adult Income dataset and reach about 85 percent test accuracy.</description></item><item><title>Lesson 3 - Evaluating and Optimizing Decision Trees</title><link>/courses/machine-learning/trees-and-ensembles/lesson-3-evaluating-and-optimizing-decision-trees/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>/courses/machine-learning/trees-and-ensembles/lesson-3-evaluating-and-optimizing-decision-trees/</guid><description>Understand overfitting in decision trees: see how a deep tree memorizes the training data, plot train versus test accuracy across depths, and learn the pruning hyperparameters that keep a tree honest on unseen data.</description></item><item><title>Lesson 4 - Cross-Validation and Ensemble Methods</title><link>/courses/machine-learning/trees-and-ensembles/lesson-4-cross-validation-and-ensemble-methods/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>/courses/machine-learning/trees-and-ensembles/lesson-4-cross-validation-and-ensemble-methods/</guid><description>Learn why a single train/test split can mislead you, and use k-fold cross-validation for trustworthy accuracy estimates. Then meet ensemble methods: how bagging and random forests average many de-correlated trees to build a stronger classifier on the real Adult Income dataset.</description></item><item><title>Lesson 5 - Guided Project: Predicting Employee Productivity</title><link>/courses/machine-learning/trees-and-ensembles/lesson-5-guided-project-predicting-employee-productivity/</link><pubDate>Fri, 14 Nov 2025 09:00:00 +0200</pubDate><guid>/courses/machine-learning/trees-and-ensembles/lesson-5-guided-project-predicting-employee-productivity/</guid><description>Apply everything you have learned about trees and ensembles in a complete, hands-on regression project. You will load, clean, and encode the real Garment Productivity dataset, fit a decision tree and a random forest to predict actual productivity, read feature importances, and reason about why the model&amp;rsquo;s R-squared is modest and how you might improve it.</description></item></channel></rss>