How Does a Decision Tree Know the Next Best Question to Ask from the Data?

Build your own decision tree classifier (from scratch in Python) and understand how it uses entropy to split a node

Gurjinder Kaur
Towards Data Science
14 min readNov 17, 2023

--

Photo by Daniele Levis Pelusi on Unsplash

Introduction

Decision trees are versatile machine learning algorithms that can perform both classification and…

--

--

Data Scientist @ CVS Health. Interested in reading and writing about Data Science and ML.