Let’s Write a Decision Tree Classifier from Scratch - Machine Learning Recipes #8

38 575
Published on 13 Sep 2017, 17:21
Hey everyone! Glad to be back! Decision Tree classifiers are intuitive, interpretable, and one of my favorite supervised learning algorithms. In this episode, I’ll walk you through writing a Decision Tree classifier from scratch, in pure Python. I’ll introduce concepts including Decision Tree Learning, Gini Impurity, and Information Gain. Then, we’ll code it all up. Understanding how to accomplish this was helpful to me when I studied Machine Learning for the first time, and I hope it will prove useful to you as well.

You can find the code from this video here:
goo.gl/UdZoNr
goo.gl/ZpWYzt

Books!
Hands-On Machine Learning with Scikit-Learn and TensorFlow goo.gl/kM0anQ

Follow Josh on Twitter: twitter.com/random_forests

Check out more Machine Learning Recipes here: goo.gl/KewA03

Subscribe to the Google Developers channel: goo.gl/mQyv5L
news tech music