When performing a median imputation on the training set using SimpleImputer, how do you make the pipeline impute the training medians to the test set?

前端 未结 0 1345
悲&欢浪女
悲&欢浪女 2021-01-06 14:21
num_pipeline1 = Pipeline([
    (\'imputer\', SimpleImputer(strategy = \'median\')),
    (\'scaler\', StandardScaler())
])

How do you impute the trai

相关标签:
回答
  • 消灭零回复
提交回复
热议问题