Predictions
Thu Aug 05 2021 15:25:24 GMT+0000 (Coordinated Universal Time)
Saved by
@CleverIT
df['Predictions'] = Predictions
df['Price'] = sc.inverse_transform(df['Price'])
df['Predictions'] = sc.inverse_transform(df['Predictions'])
Hágamos un gráfico para comprar las predicciones con la data real.
plt.xlabel('Date')
plt.ylabel('Price')
plt.plot(df['Price'], 'b', label='Price')
plt.plot(df['Predictions'], 'r', label='Prediction')
plt.legend(loc='upper left', shadow=True, fontsize='x-large')
content_copyCOPY
Comments