Skip to Content
Grokking Machine Learning
book

Grokking Machine Learning

by Luis Serrano
December 2021
Intermediate to advanced
512 pages
15h 23m
English
Manning Publications
Content preview from Grokking Machine Learning

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Machine Learning with Scikit-Learn and PyTorch

Hands-On Machine Learning with Scikit-Learn and PyTorch

Aurélien Géron
Machine Learning with PyTorch and Scikit-Learn

Machine Learning with PyTorch and Scikit-Learn

Sebastian Raschka, Yuxi (Hayden) Liu, Vahid Mirjalili

Publisher Resources

ISBN: 9781617295911Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link