Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given weather dataset: Outlook Temp Humidity Windy Play Overcast Hot Normal False Yes Overcast Hot High True Yes Sunny Mild Normal True Yes Rainy Mild

Given weather dataset:
Outlook Temp Humidity Windy Play
Overcast Hot Normal False Yes
Overcast Hot High True Yes
Sunny Mild Normal True Yes
Rainy Mild Normal False Yes Sunny Cool Normal False Yes
Sunny Mild High False No
Overcast Cool Normal True Yes
Rainy Cool Normal True No
Rainy Cool Normal False Yes
Rainy Mild High False Yes
Construct all association rules (use frequent k-item sets) with support >4 and compute confidence for each of them. Show all your work!
2.[10 points] Given the following training dataset:
A1 A2 A3 class
211 A
111 B
202 B
Classify the newly coming instance 111? using Nearest Neighbor Algorithm, where distance function is Euclidean distance. Assume that the attributes are already normalized. Show all your work!
3.[10 points] Given the following dataset:
A1 A2 A3
034
221
112
Normalize each of the attributes (A1, A2, A3). Write the dataset in normalized attributes. Show all your work!
4.[15 points] Given the following dataset:
X Y
02
20
32
31
Show how k-means algorithm works on this dataset if k =2 and the initial seeds are the instances/points (01) and (10). Describe the found cluster. Show all your work!

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

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions