MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

MACHINE LEARNING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Considering the K-means algorithm, after current iteration, we have 3 centroids (0, 1) (2, 1), (-1, 2). Will points (2, 3) and (2, 0.5) be assigned to the same cluster in the next iteration?
A
Yes
B
No
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -In K-Means, the first centroid is selected randomly from the data points. Once the first centroid is selected, the algorithm looks for the record the furthest (in terms of Euclidean distance) in the entire data set.

Detailed explanation-2: -Initializing centroids Centroid is the center of a cluster but initially, the exact center of data points will be unknown so, we select random data points and define them as centroids for each cluster. We will initialize 3 centroids in the dataset.

There is 1 question to complete.