섹션 10. 의사 결정 트리 회귀 (Decision Tree Intuition)
※ 여러 요소의 데이터 집합(고차원 데이터 집합)에 적합하다.
● URL : https://colab.research.google.com/drive/1-Gm8bfp7_8h4rs39JUa2GoaryumOuPRm#scrollTo=pLVaXoYVU_Uy
● CART
: 범주화 회귀 나무, 즉, 범주화 나무(Classification Trees), 회귀 나무(Regression Trees) 모두 포괄
- 범주화 나무(Classification Trees): 범주 예측
- 회귀 나무(Regression Trees) : 연속적 수치값 예측
(+) 정보 엔트로피
Step 1. Importing the libraries
Step 2. Importing the dataset
Step 3. Training the Decision Tree Regression model on the whole dataset
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
(1) random_state = 0 : 무작위성에 관여하는 모든 함수들이 항상 같은 순서로 같은 값을 생성하게 되어 일관된 결과 보장
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Step 4. Predicting a new result
Step 5. Visualising the Decision Tree Regression results (higher resolution)

(급여 수준 사이에 계단 한개)