Quiz 1 (Section D)
Quiz 1 (Section D)
ENGINEERING DEPARTMENT
FALL 2022
ARTIFICIAL INTELLIGENCE (SWE-314T)
Quiz 1
Date: ______________________ Batch: 2020F
Section: ___________________ Max Marks: 10
Roll No.: ____________________ Semester: 5th
Question 1:
Cluster the following eight points (with (x, y) representing locations) into three clusters:
A1(2, 10), A2(2, 5), A3(8, 4), A4(5, 8), A5(7, 5), A6(6, 4), A7(1, 2), A8(4, 9)
Initial cluster centers are: A1(2, 10), A4(5, 8) and A7(1, 2).
The distance function between two points a = (x1, y1) and b = (x2, y2) is defined as-
Ρ(a, b) = |x2 – x1| + |y2 – y1|
Use K-Means Algorithm to find the three cluster centers after the second iteration.
Question 2:
Explain the concept of
Overfitting and Under fitting in machine learning
Classification and Regression
Supervised and Unsupervised machine learning algorithm
Traditional programming and machine learning
KNN algorithm as a lazy learning algorithm.