Tree-based Methods Lab

Lab

Work through our adapted version of the Tree-based methods lab from the book.

Exercises

  • From Section 8.4 carry out exercise 9.
  • In the section on Decision Trees from Scratch from Tuesday's class,
    1. add a _gini-index method to the DecisionTree class and use it to carry out the breast cancer classification task using Gini index instead of entropy.
    2. Carry out one of the regression tasks from Tuesday's class using the DecisionTree class and making the changes to it.

Author: Breanndán Ó Nualláin <o@uva.nl>

Date: 2025-11-06 Thu 09:47