ValueError:形状为(219,1)的不可广播输出操作数与广播形状不匹配(219,2)

时间:2018-01-11 09:57:36

标签: jupyter-notebook

对数据进行非规范化,请帮助我

df = pd.read_csv("22.csv", index_col = 0)
normalized_value = normalized_value.reshape(-1,1) 
#return df.shape, p.shape
min_max_scaler = preprocessing.MinMaxScaler()
a = min_max_scaler.fit_transform(df)
new = min_max_scaler.inverse_transform(normalized_value)
return new
newp = denormalize(df, p)
newy_test = denormalize(df, y_test)

enter image description here

0 个答案:

没有答案