View the step-by-step solution to:

Question

Homework 1



You are to build a model to predict whether a cowboy/cowgirl in western

movies is good or bad (target variable or dependent variable). Your decision is based on three easily observable features (independent variables), namely Left or Right-Handed, Hat Color, and Age Range. 


Finish the following tasks by using the following table. Besides the final answers, also show the process of the calculation. 


1. Calculate the Entropy of the entire data set with 10 data points. 


2. Calculate the Information Gains for each one of the three features (independent variables). 


3. Which one of the three features is the most informative feature? 


4. Categorize the entire data set into multiple sub-sets/segments by using the most informative feature. Calculate the probability estimations for each segments by applying Laplace correction. 



Name Left or Right-Handed Hat Color Age Range Good or Bad

James Right White 20's Good

Jack Right Black 30's Bad

Jeff Left Black 20's Bad

Jason Left Black 20's Good

Jane Left White 40's Good

Jeremy Right Black 40's Bad

Joe Right White 30's Good

Jenny Left White 30's Good

Joyce Left Black 40's Bad

Jake Right White 40's Good



Save your homework as hw01.docx. Submit your file to the Canvas system using the submission system. 

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.

  • -

    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
Let our 24/7 Information Security tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors