Discretization with decision trees
The discretization process can be achieved using decision trees as well. How does it work? What should we take into consideration? Furthermore, how to use this method in our code? We will see all that in this lesson.
Discretization with decision trees
Discretization with Decision Trees uses a decision tree to identify the optimal splitting points that determine the bins or contiguous intervals.
Steps
- Step 1: First, it trains a decision tree of limited depth (2, 3, or 4) using the variable we want to discretize to predict the target.
- Step 2:
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy