sklearn train_test_split error: Found input variables with inconsistent numbers of samples

前端 未结 0 379
轮回少年
轮回少年 2020-12-17 19:54
x = dummiesfinal.iloc[9]
y = dummiesfinal.iloc[0:8,10:47]
x = np.array(x).T.reshape(-1,1)
y = np.array(y)
np.shape(x)
(48, 1)
np.shape(y)
(8, 37)
plt
from sklearn.mo         


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