对数据进行非规范化,请帮助我
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)