Decision Tree Classification
machine learningUpdated Oct 25, 2025
Classify whether a person will make a purchase based on Age and Estimated Salary using a Decision Tree classifier.
Language: PythonLevel: intermediate
Learning Objectives
- Implement and train a Decision Tree classifier using Scikit-learn.
- Visualize the decision tree structure and decision boundaries.
- Evaluate the model using accuracy score and confusion matrix.
Loading...
thomasuhuru.com
notebooks/decision-tree-classification-in-python.ipynb