Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 - Decision Tree Learning (20%) Consider the following database of stars represented by 5 training examples. The target attribute is 'Red dwarf', which

image text in transcribed

Question 4 - Decision Tree Learning (20%) Consider the following database of stars represented by 5 training examples. The target attribute is 'Red dwarf', which can have values 'yes' or 'no'. This is to be predicted based on the other attributes of the star. Note that Radius refers to the relative radius based on the Sun of our solar system and the temperature is measured in Kelvin. Star Temperature Radius Colour Red dwarf 1 3650 1324 Red No 2. 8930 0.0095 White No 3 3511 0.109 Red Yes 4 3570 1480 Red No 5 2840 0.11 Red Yes logi. (x) log, (x) = log.(2) 1. Calculate the entropy of the target attribute [Note: 2. Construct the decision tree structure from the above examples, which would be learned by the ID3 algorithm. For your convenience, convert the numerical values to categorical by comparing each star with the properties of the Sun: Temperature > 6000K Hotter Temperature 1 Larger Radius

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_2

Step: 3

blur-text-image_3

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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions

Question

Different formulas for mathematical core areas.

Answered: 1 week ago

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago