Question: 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
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.
- Which one of the three features is the most informative feature?
- 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 | 20s | Good |
| Jack | Right | Black | 30s | Bad |
| Jeff | Left | Black | 20s | Bad |
| Jason | Left | Black | 20s | Good |
| Jane | Left | White | 40s | Good |
| Jeremy | Right | Black | 40s | Bad |
| Joe | Right | White | 30s | Good |
| Jenny | Left | White | 30s | Good |
| Joyce | Left | Black | 40s | Bad |
| Jake | Right | White | 40s | Good |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
