9 Splitting data by asking questions: Decision trees

In this chapter

  • what is a decision tree
  • using decision trees for classification and regression
  • building an app-recommendation system using users’ information
  • accuracy, Gini index, and entropy, and their role in building decision trees
  • using Scikit-Learn to train a decision tree on a university admissions dataset

In this chapter, we cover decision trees. Decision trees are powerful classification and regression models, which also give us a great deal of information about our dataset. Just like the previous models we’ve learned in this book, decision trees are trained with labeled data, where ...

Get Grokking Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.