04: K-Nearest neighbor Flashcards
(7 cards)
1
Q
KNN - K-Nearest Neighbors
A
ML algorithm that is used to classify data points based on their proximity to other data points
2
Q
K-Neighbors classification
A
Commonly used:
* Pattern recognition
* Image classification
* Recommendation system
Performance depends on:
* The choice of K
* The distance metric
3
Q
K-Neighbors Regression
A
- Suitable for continuous numerical predictions
- Works well with small to medium-sized datasets
4
Q
Streanghts of KNN?
A
- Simple and easy to understand
- Effective for small datasets
- No training phase
- Works well with minimal Hyperparameter tuning
- Flexible distance metrics
- Good baseline model
5
Q
Weaknesses of KNN?
A
- Computationally expensive for large datasets
- Not suitable for sparse data
- Slow prediction speed
- Choice of k is crucial
- Affected by Noisy and Irrelevent features
6
Q
Key Parameters in KNN
A
- Number of Neighbors (k)
- Distance Metric
7
Q
Applications of KNN
A
- Disease diagnosis and Patient risk assessment
- Object identification
- Facial recognition
*