• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 12 pages
Exam (elaborations)

Dsp Year 2 Challenge Test Certification Evaluation Exams Complete Solution

Document preview thumbnail
Preview 2 out of 12 pages

DSP YEAR 2 CHALLENGE TEST CERTIFICATION EVALUATION EXAMS COMPLETE SOLUTION

Content preview

DSP YEAR 2 CHALLENGE TEST
CERTIFICATION EVALUATION EXAMS
COMPLETE SOLUTION


◉ What is k-NN? Answer: k-NN is a supervised machine learning
algorithm used for classification and regression that makes
predictions based on the nearest data points.


◉ Is k-NN supervised or unsupervised, and why? Answer: k-NN is
supervised because the training data already contains correct labels or
values.


◉ What does k represent in k-NN? Answer: k represents the number
of nearest neighbours used to make a prediction.


◉ How does k-NN work for classification? Answer: k-NN predicts
the class by majority voting among the nearest neighbours.


◉ How does k-NN work for regression? Answer: k-NN predicts a
numerical value by averaging the values of the nearest neighbours.


◉ What happens when k is too small? Answer: The model becomes
sensitive to noise, causing high variance and overfitting.

, ◉ What happens when k is too large? Answer: The model has high
bias and may miss local patterns.


◉ What is a distance metric? Answer: A distance metric measures
how close or similar two data points are.


◉ Why does k-NN need a distance metric? Answer: To identify the
nearest neighbours for prediction.


◉ Name common distance metrics used in k-NN. Answer: Euclidean
distance and Manhattan distance.


◉ What is feature scaling? Answer: Adjusting features to the same
numerical range.


◉ Why is feature scaling important for k-NN? Answer: Because
distance calculations are affected by feature magnitude.


◉ What happens if features are not scaled in k-NN? Answer: Large-
scale features dominate distances and cause incorrect predictions.


◉ List the advantages of k-NN. Answer: Simple, easy to understand,
no training phase, interpretable.

Document information

Uploaded on
August 19, 2026
Number of pages
12
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$16.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
3
Followers
0
Items
2545
Last sold
22 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions