Open betatim opened 7 years ago
After the bad job of explaining the splitting criteria motivation in the lecture I prepared a short notebook that illustrates what happens in the case of accuracy and why criteria like the entropy or gini are preferable.
https://github.com/wildtreetech/advanced-comp-2017/blob/master/02-trees/splitting-criteria.ipynb
There is also a graphical explanation here: https://sebastianraschka.com/faq/docs/decisiontree-error-vs-entropy.html
After the bad job of explaining the splitting criteria motivation in the lecture I prepared a short notebook that illustrates what happens in the case of accuracy and why criteria like the entropy or gini are preferable.
https://github.com/wildtreetech/advanced-comp-2017/blob/master/02-trees/splitting-criteria.ipynb
There is also a graphical explanation here: https://sebastianraschka.com/faq/docs/decisiontree-error-vs-entropy.html