Search Header Logo

ML-K_Means Algorithm

Authored by KarunaiMuthu SriRam

Computers

University

Used 1+ times

ML-K_Means Algorithm
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

K-Means is a popular clustering algorithm used in unsupervised machine learning. What is the main objective of the K-Means algorithm?

To minimize the variance within clusters

To maximize the number of clusters

To predict the target variable of a dataset

To classify data into predefined categories

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the K-Means algorithm, what does "K" represent?

The number of clusters to be formed

The total number of data points in the dataset

The sum of squared distances within the clusters

The variance of the dataset

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which step of the K-Means algorithm involves randomly initializing the cluster centroids?

Assigning data points to the nearest centroid

Updating the centroids based on the mean of the data points in each cluster

Calculating the sum of squared distances within the clusters

Randomly selecting the number of clusters (K)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the measure used in the K-Means algorithm to determine the distance between data points and cluster centroids?

Euclidean distance

Pearson correlation

Cosine similarity

Mahalanobis distance

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main drawback of the K-Means algorithm?

It is computationally expensive for large datasets.

It can only handle numerical data and not categorical features.

It requires the number of clusters (K) to be known in advance.

It cannot handle outliers in the data.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a commonly used method to determine the optimal number of clusters (K) in K-Means?

Elbow method

Silhouette score

Mean-Shift

Hierarchical clustering

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

During the K-Means algorithm, how are data points assigned to clusters in each iteration?

Randomly

Based on their similarity to cluster centroids

Based on the order of data points in the dataset

Based on their variance within the cluster

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers