Solution: Train a Decision Tree Model Using the Gini Criteria

View the solution to the “Train a Decision Tree Model Using the Gini Criteria” exercise.

We'll cover the following

Let’s practice what we have learned so far.


In the "Machine Learning" lesson of the “Decision Tree Learning” chapter, we trained a decision tree using the criterion='entropy'. The task here is to retrain the decision model using Gini criteria and observe the difference in model evaluations.


The provided workspace contains the code solution for the task mentioned above.

Get hands-on with 1200+ tech skills courses.