Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a) Consider the dataset in Table 1. Grade, Bumpiness and Speed-limit are the features and Speed is label. Table 1: Dataset for decision tree SN

a) Consider the dataset in Table 1. Grade, Bumpiness and Speed-limit are the features and Speed is label.

Table 1: Dataset for decision tree
SN

Grade

Bumpiness

Speed-limit Speed
1 steep bumpiness yes slow
2 steep smooth yes slow
3 flat bumpiness no fast
4 steep smooth no fast

Answer the followings: i) Determine the entropy of Speed. ii) Which attribute should be selected as a root of the decision tree? iii) Construct the decision tree for this dataset based on information gain.

b) What to you mean by clustering? Consider the following sample points, A (1, 1), B (2, -2), C (2, 3), D (3, 3). Perform k-means clustering, show the calculation of distance matrix and group assignment matrix for two epochs only. [Assume k=2]

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

Beginning Apache Cassandra Development

Authors: Vivek Mishra

1st Edition

1484201426, 9781484201428

More Books

Students also viewed these Databases questions