python 空值填充 knn_用KNN实现python中的缺失值插补

本文介绍了如何在Python中使用KNN方法进行缺失值处理,包括SimpleFill、KNN、SoftImpute等不同策略。KNN方法通过考虑特征间的均方差来加权最近邻的样本。其他方法如SoftImpute基于SVD分解,IterativeSVD使用迭代的低秩SVD,MICE实现了链式方程的多重填充,MatrixFactorization则通过矩阵分解引入稀疏性和正则化。NuclearNormMinimization是精确矩阵完成的凸优化实现,BiScaler则是迭代估算行/列均值和标准差来双重标准化矩阵的方法。
摘要由CSDN通过智能技术生成

•SimpleFill: Replaces missing entries with the mean or median of each

column.

•KNN: Nearest neighbor imputations which weights samples using the

mean squared difference on features for which two rows both have

observed data.

•SoftImpute: Matrix completion by iterative soft thresholding of SVD

decompositions. Inspired by the softImpute package for R, which is

based on Spectral Regularization Algorithms for Learning Large

Incomplete Matrices by Mazumder et. al.

•IterativeSVD: Matrix completion by iterative low-rank SVD

decomposition. Should be similar to SVDimpute from Missing value

estimation methods for DNA microarrays by Troyanskaya et. al.

•MICE: Reimplementation of Multiple Imputation by Chained Equations.

•MatrixFactorization: Direct factorization of the incomplete matrix

into low-rank U and V, with an L1 sparsity penalty o

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值