sklearn.preprocessing里缺失Imputer函数
安装了最新版的sklearn,发现在preprocessing里没有Imputer函数,最后的解决方法是调用imputer里面的SimpleImputer函数:import numpy as npfrom numpy import nan as NAfrom sklearn.impute import SimpleImputerimputer = SimpleImputer(missin...
原创
2020-01-07 23:25:17 ·
10441 阅读 ·
3 评论