Subject

    Computer Science

    Topic

    Artificial Intelligence

    In the figure, a split changes parent counts 6,4 into left 4,1 and right 2,3. What is information gain rounded to three decimals?

    Illustration for In the figure, a split changes parent counts 6,4 into left 4,1 and right 2,3. What is information ga
    a)
    0.125
    b)
    0.225
    c)
    0.025
    d)
    0.875

    Explanation

    Parent entropy (6, 4) ≈ 0.971. Each child holds half the data: left (4, 1) ≈ 0.722 and right (2, 3) ≈ 0.971, average ≈ 0.846. Gain ≈ 0.971 − 0.846 = 0.125.

    Find Tutors

    View all Tutors