K-NN algorithm for machine learning

K-NN algorithm for machine learning

University

10 Qs

quiz-placeholder

Similar activities

Nearest Neighbor

Nearest Neighbor

University

15 Qs

Expectation Maximization & Gaussian Mixture Model

Expectation Maximization & Gaussian Mixture Model

University

12 Qs

Algoritma dan Modelling Machine Learning

Algoritma dan Modelling Machine Learning

University

10 Qs

Computational Thinking Quiz

Computational Thinking Quiz

6th Grade - Professional Development

11 Qs

Step to Solve Problem in Computer Programming

Step to Solve Problem in Computer Programming

University

10 Qs

Introduction to Programming

Introduction to Programming

9th Grade - University

10 Qs

Grade2-Term3-Shj

Grade2-Term3-Shj

4th Grade - University

10 Qs

Computer Graphics

Computer Graphics

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?