Let’s Write a Decision Tree Classifier from Scratch: Machine Learning Recipes #8
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:
Hands-On Machine Learning with Scikit-Learn and TensorFlow https://goo.gl/kM0anQ
Follow Josh on Twitter: https://twitter.com/random_forests
Check out more Machine Learning Recipes here: https://goo.gl/KewA03
Subscribe to the Google Developers: http://goo.gl/mQyv5L