Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

URGENT ANSWER... I NEED THIS ANSWER WITHIN 1/2 HOURS Solve question c) i) ii) iii). c) Consider the following training dataset where CLASS is the

URGENT ANSWER... I NEED THIS ANSWER WITHIN 1/2 HOURS

image text in transcribed

Solve question c) i) ii) iii).

c) Consider the following training dataset where CLASS is the target. Cases Furniture 1 Furniture 2 Furniture 3 Furniture 4 Furniture 5 Furniture 6 Furniture 7 Furniture 8 Density Heavy Heavy Heavy Light Light Heavy Heavy Heavy Grain Small Large Small Large Large Small Large Small Hardness Hard Hard Hard Soft Soft Soft Soft Soft Class Oak Oak Pine Oak Pine Pine Pine Pine i) Calculate the information gain for HARDNESS. If the information gain scores for DENSITY and GRAIN are 0.9387 and 0.9055, respectively, determine which input should be used as the first splitting variable? (4 marks) ii) Build a decision tree using the information obtained in (). (2 marks) ii) Assume Furniture 9 has a missing value "?" for DENSITY. Explain how the missing value is managed during the model training process. (1 mark) c) Consider the following training dataset where CLASS is the target. Cases Furniture 1 Furniture 2 Furniture 3 Furniture 4 Furniture 5 Furniture 6 Furniture 7 Furniture 8 Density Heavy Heavy Heavy Light Light Heavy Heavy Heavy Grain Small Large Small Large Large Small Large Small Hardness Hard Hard Hard Soft Soft Soft Soft Soft Class Oak Oak Pine Oak Pine Pine Pine Pine i) Calculate the information gain for HARDNESS. If the information gain scores for DENSITY and GRAIN are 0.9387 and 0.9055, respectively, determine which input should be used as the first splitting variable? (4 marks) ii) Build a decision tree using the information obtained in (). (2 marks) ii) Assume Furniture 9 has a missing value "?" for DENSITY. Explain how the missing value is managed during the model training process. (1 mark)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linear Algebra A Modern Introduction

Authors: David Poole

3rd edition

9781133169574 , 978-0538735452

More Books

Students also viewed these Accounting questions

Question

What do you mean by dual mode operation?

Answered: 1 week ago

Question

Explain the difference between `==` and `===` in JavaScript.

Answered: 1 week ago

Question

2. Answer the question, Who should do the appraising?pg 87

Answered: 1 week ago

Question

1. Explain the purpose of performance appraisal.pg 87

Answered: 1 week ago