outlook temperature humidity windy play sunny hot high

  • Slides: 17
Download presentation

예제 데이터 outlook temperature humidity windy play sunny hot high FALSE no sunny hot

예제 데이터 outlook temperature humidity windy play sunny hot high FALSE no sunny hot high TRUE no overcast hot high FALSE yes rainy mild high FALSE yes rainy cool normal TRUE no overcast cool normal TRUE yes sunny mild high FALSE no sunny cool normal FALSE yes rainy mild normal FALSE yes sunny mild normal TRUE yes overcast mild high TRUE yes overcast hot normal FALSE yes rainy mild high TRUE no 표 1

Information Gain • 공식 I는 상위 노드의 엔트로피. E(A)는 A라는 속성을 선택 시 파생되는

Information Gain • 공식 I는 상위 노드의 엔트로피. E(A)는 A라는 속성을 선택 시 파생되는 하위노드의 엔트로피 가중치 평균. outlook play sunny No sunny Yes overcast Yes rainy No rainy Yes

ID 3 트리구성 1 All E(9, 5) = 0. 940 outlook Info. Gain(outlook) =

ID 3 트리구성 1 All E(9, 5) = 0. 940 outlook Info. Gain(outlook) = 0. 246 Info. Gain(windy) = 0. 048 Info. Gain(temperature) = 0. 03 Info. Gain(humidity) = 0. 152 tempera humidity windy ture play sunny hot high FALSE no sunny hot high TRUE no overcast hot high FALSE yes rainy mild high FALSE yes rainy cool normal TRUE no overcast cool normal TRUE yes sunny mild high FALSE no sunny cool normal FALSE yes rainy mild normal FALSE yes sunny mild normal TRUE yes overcast mild high TRUE yes overcast hot normal FALSE yes rainy mild high TRUE no

ID 3 트리구성 2 E(9, 5) = 0. 940 Outlook(sunny) E(2, 3) = 0.

ID 3 트리구성 2 E(9, 5) = 0. 940 Outlook(sunny) E(2, 3) = 0. 971 sunny hot high FALSE no sunny hot high TRUE no sunny mild high FALSE no sunny cool normal FALSE yes sunny mild normal TRUE yes overcast Outlook(rainy) Outlook(overcast) E(4, 0) = 0. 0 hot cool mild hot high normal FALSE TRUE FALSE E(3, 2) = 0. 971 yes yes rainy mild high FALSE yes rainy cool normal rainy mild normal FALSE yes rainy mild high TRUE no

참고자료 • 친절한 한글 설명 – http: //ai-times. tistory. com/77 • AI Game Programming

참고자료 • 친절한 한글 설명 – http: //ai-times. tistory. com/77 • AI Game Programming Wisdom 2 • 편리한 공학용 계산기 – http: //web 2. 0 calc. com/