Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Training Set income sex low male yes Assume that the following training set and the test set are given for carBought function. married carBought
Training Set income sex low male yes Assume that the following training set and the test set are given for carBought function. married carBought yes Test Set income sex married carBought low male no yes low female no no middle male yes yes middle male yes yes middle female no yes middle male no no low middle female yes yes low male yes female no no no high male yes yes low male yes no low female yes no high middle male yes middle female yes male yes yes no yes middle male yes yes high female no no middle male no yes low female yes no middle female no yes middle male yes yes high male yes yes high female yes no high male no no high female yes yes low male yes no middle male yes yes middle female yes yes high male yes yes high male no yes high female no no a) Create a decision tree using the training set. Use information gain as attribute selection measure. Show details of your creation (gain and information values). b) Compute classifier evaluation metrics (Precision and Recall, and F-measure) using the test set.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started