Unfit Tree

Latham is a data scientist at a startup, and he has been working on building a machine-learning model to classify customers into different categories.

After some investigation, Latham discovers that the Decision Tree model he used is not doing great. He remembers reading about a technique called pruning that could help.

What is the purpose of pruning a Decision Tree?