encode problem ValueError: setting an array element with a sequence for knn

前端 未结 0 379
时光取名叫无心
时光取名叫无心 2020-12-10 01:24

enter image description here

from sklearn.preprocessing import LabelEncoder
x=purpose_data.iloc[:,:-1]
y=purpose_data.iloc[:,1]
labelencoder = LabelEncoder()
         


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