标签: python machine-learning
OneHotEncoder似乎无法在管道中工作,而单独运行时可以正常工作。
33 full_pipeline=Pipeline([ 34 ('num',num_pipeline,num_attribs), ---> 35 ('cat',cat_pipeline,cat_attribs), 36 ])
ValueError:太多值无法解包(预期2)
cat_attribs是一个由分类列组成的数据框。
cat_attribs