wildtreetech / advanced-comp-2017

💻 Material for a course on applied machine-learning for scientists. Taught at EPFL in spring 2017
23 stars 13 forks source link

Accuracy as splitting criteria #6

Open betatim opened 7 years ago

betatim commented 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