View the step-by-step solution to:

Question

Suppose that we are building a decision tree to predict the variable Y. Consider two variables

src="/qa/attachment/9129290/" alt="2.png" />

2.png

2. Suppose that we are building a decision tree to predict the variable Y. Consider two variables X and Z
that can potentially be used to predict Y. Suppose we have the following data: Table 1: Data points for X and Y Y:0 Y:1 X = 0 1000 3000 X : 1 3000 1000 Table 2: Data points for Z and Y Y:0 Y:1 Z = 0 2000 2000 Z = 1 2000 2000 (a) Find H(X), H(Y), and H(Z) using the above tables.
(b) Find I(Y;X) and I(Y; Z)
(0) Which variable (X or Z) will you use for splitting in your tree?

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question