Tag

Gini Impurity

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Aug 10, 2021 · Artificial Intelligence

Building a Decision Tree Model in Python Using Entropy and Gini Impurity

This tutorial walks through creating, visualizing, and exporting two Python decision‑tree classifiers—one using entropy and the other using Gini impurity—by installing required packages, preparing a simple dataset, training the models with scikit‑learn, and rendering the trees with Graphviz.

EntropyGini ImpurityGraphviz
0 likes · 11 min read
Building a Decision Tree Model in Python Using Entropy and Gini Impurity
Tencent Cloud Developer
Tencent Cloud Developer
Mar 19, 2018 · Artificial Intelligence

Basic Concepts of Decision Trees

Decision trees are tree-structured classifiers that split data using attributes chosen for maximal purity measured by Gini impurity or entropy, with algorithms like ID3 selecting splits by information gain, while overfitting is mitigated through constraints and pruning techniques such as REP, PEP, and CCP.

EntropyGini ImpurityID3
0 likes · 13 min read
Basic Concepts of Decision Trees