CART Algorithm

REi·2024년 3월 24일

Algorithm

목록 보기
1/4

1. Gini(Attribute)

1n=1n(Pi)21-\sum_{n=1}^n(Pi)^2

2. Gini index (Attribute)

aAttributeSaSGini(Sa)\sum_{a\in Attribute}\frac{|Sa|}{S} Gini(Sa)

3. Choose the lowest

The lowest value will be the next node.

Test

Referece
https://ankitnitjsr13.medium.com/math-behind-decision-tree-algorithm-2aa398561d6d

0개의 댓글