인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

wonchul6784's profile image
wonchul6784

asked

Introduction to Machine Learning from Scratch

ID3 & Information gain

age 선택 후, 다음 단계에서의 information gain 값 산출 결과에 대한 문의

Written on

·

174

0

student의 경우, no yes에 대해 buy/not buy도 정확히 갈리기 때문에

info_student = 0가 될 것이므로, IG는 모두 age 선택 후 info(D)가 될 텐데요.

age 선택 후 info(D) 는 -2/5 x log2(2/5) - 3/5 x log2(3/5) = 0.97095 이므로 이 값이 모두 IG가 되어야 하지 않나요?

자료에서는 음수가 나와서요. 확인해 주실 수 있으실런지요?

항상 최교수님 명강의에 감탄하고 있습니다.

감사합니다.

열공쟁이 서원철 드림.

머신러닝 배워볼래요?

Answer

This question is waiting for answers
Be the first to answer!
wonchul6784's profile image
wonchul6784

asked

Ask a question