Predictions 4
Thu Aug 05 2021 16:07:13 GMT+0000 (Coordinated Universal Time)
Saved by
@CleverIT
Predictions = [model.predict(np.asarray(df['Price'])[i:i+Obs].reshape(1, Obs, 1)) for i in range(len(df)-Obs)]
Predictions = [df['Price'].iloc[0]]*Obs + [val[0][0] for val in Predictions]
content_copyCOPY
Comments