Borrowing nearby observations to fill a missing measurement

KNN imputation uses jointly observed features to find nearby rows with the missing quantity available.

KNNImputer in practice

Estimate a missing floor area from homes similar in room count and location. Unscaled inputs can dominate neighbor choice, so inspect what “close” means.

中文

近邻插补怎样为缺失测量找参照?

KNN 插补利用共同可观测特征衡量距离,从相近且该项非缺失的样本估算空值。

KNNImputer 应用实例

估算房屋面积时可借用房间数和地段相似的房源。未经缩放的数值特征可能左右邻居选择,应检查距离的业务含义。

References / 参考来源

Keep reading / 继续阅读