
K-NN algorithm for machine learning

Quiz
•
Computers
•
University
•
Medium

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
Similar Resources on Wayground
13 questions
time and space complexity

Quiz
•
University
10 questions
Algorithms

Quiz
•
University
10 questions
Intro to ML: Unsupervised Learning

Quiz
•
University
15 questions
WS2324 S2 & S10 Formative Assessment

Quiz
•
University
10 questions
PDS - 04225 Intro to Data Structures and Algorithms - Chapter 2

Quiz
•
University
12 questions
Greedy Method

Quiz
•
University
10 questions
Analysis of Algorithms Quiz

Quiz
•
University
9 questions
Big Data 3

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade