Exercise: Train a Random Forest Model Using the Entropy Criteria
Train a random forest classifier using the entropy criteria, and observe the difference in model evaluations.
We'll cover the following
Task
In the “Machine Learning” lesson of the “Decision Tree Learning” chapter, we trained a random forest model using the default criteria (criterion='gini'
). The task here is to retrain the model using the entropy criteria and observe the difference in model evaluations.
Coding workspace
The provided workspace contains the required libraries and data. Let's try to code the solution for the task mentioned above.
Get hands-on with 1400+ tech skills courses.