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,
- add a
_gini-indexmethod to theDecisionTreeclass and use it to carry out the breast cancer classification task using Gini index instead of entropy. - Carry out one of the regression tasks from Tuesday's class using the
DecisionTreeclass and making the changes to it.
- add a