在Python的
我发现唯一的区别是
sklearn
库中,有两个类做了大致相同的事情: sklearn.preprocessing.Imputer
和sklearn.impute.SimpleImputer
。我发现唯一的区别是
SimpleImputer
中有一个"constant"
strategy
类型。还有其他的区别吗?什么时候应该使用Imputer
而不是SimpleImputer
?