$ cd ../
Decision Trees — Penguin Classification — bash

user@devops:~$ cat README.md

Decision Trees — Penguin Classification

# Description

Decision trees project with scikit-learn to classify penguin species (Adelie, Chinstrap, Gentoo) using the Palmer Penguins dataset. Learn fundamental concepts: Gini Impurity for measuring node purity, feature importance for variable ranking, depth control to prevent overfitting, pruning with ccp_alpha, and full tree visualization with plot_tree. Understand why trees are more interpretable than KNN and don't require data scaling.

# Key features

$ Training decision trees with scikit-learn

$ Full tree visualization with plot_tree

$ Gini Impurity and node splitting criteria

$ Feature importance: ranking of the most important variables

$ Depth control (max_depth) to prevent overfitting

$ Cost-complexity pruning with ccp_alpha

# Gallery

Desktop view
Decision Trees — Penguin Classification - Desktop view
Mobile view
Decision Trees — Penguin Classification - Mobile view

# Technologies used

Python scikit-learn pandas matplotlib seaborn
Hermes Agent