A data scientist is preparing a dataset for a K-Nearest Neighbors (KNN) model. The dataset contains features with vastly different scales: 'Age' (ranging from 20-70) and 'Income' (ranging from 30,000-250,000). Which data preparation technique is most crucial to apply in this scenario to ensure model performance is not biased?
-
A
One-Hot Encoding
-
B
Feature Scaling
-
C
Logarithmic Transformation
-
D
Principal Component Analysis