K-NN algorithm for machine learning

K-NN algorithm for machine learning

University

10 Qs

quiz-placeholder

Similar activities

Module-III

Module-III

University

15 Qs

Algoritma dan Modelling Machine Learning

Algoritma dan Modelling Machine Learning

University

10 Qs

G&N Unit 7 a

G&N Unit 7 a

University

6 Qs

Session 2 Quiz

Session 2 Quiz

University

10 Qs

C7-8: ANN & Image Processing

C7-8: ANN & Image Processing

12th Grade - University

10 Qs

Nearest Neighbor

Nearest Neighbor

University

15 Qs

Unstop QNA

Unstop QNA

University

15 Qs

Round 3 - Emergin

Round 3 - Emergin

University

10 Qs

K-NN algorithm for machine learning

K-NN algorithm for machine learning

Assessment

Quiz

Computers

University

Medium

Created by

ammar AlDallal

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is kNN?

A clustering algorithm

A reinforcement learning algorithm

A supervised learning algorithm

An unsupervised learning algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does kNN classify new examples?

By finding the most dissimilar training examples

By choosing the k closest neighbors

By ignoring all training examples

Based on random selection

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of scaling in kNN?

To reduce the number of attributes

To remove irrelevant attributes

To make the data more complex

To normalize the variables to the same scale

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the distance formula used in kNN?

Cosine Similarity

Chebyshev Distance

Minkowski Distance

Manhattan Distance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does kNN handle noise in labels?

By assigning a random label

By increasing the value of k

By choosing the most frequent label of its k nearest neighbors

By discarding the noisy examples

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an advantage of kNN?

Only suitable for regression problems

Performs poorly with large datasets

Simple to implement algorithm

Requires extensive tuning

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of increasing k in kNN?

Has no impact on the algorithm

Reduces the number of neighbors considered

Increases the possibility of errors

Decreases sensitivity to noise

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?