How can I reduce the noise of prediction graph? [duplicate]

I am trying to use LSTM to predict a time series data as you can see in the following image, the predicted graphs is very noisy:

The original data is looking like this:

That I normalized it like this and fed it to the LSTM network:

Is there a way to get better result with less noise?

EDIT: I use keras implementation of LSTM and sklearn.preprocessing.normalize library for normalization.

• I don't think we can answer this as it stands now. What are these plots you are showing us? What are the values? Is this time series data? What software, functions are you using? – user2974951 Aug 7 '19 at 8:57
• @user2974951: I edited my question. Yes the data is a time series that you can see in the second pic. And I used sklearn.preprocessing.normalize for normalization that you can see it's result in the last pic. I also use kears implementation of LSTM. – Hasani Aug 7 '19 at 9:48
• Then this has to do with model building. We would need to see your code, what you've done with some explanations. – user2974951 Aug 7 '19 at 10:37
• @user2974951 In these situations, we've created canonical threads to serve as duplicate targets. See meta discussion here: stats.meta.stackexchange.com/questions/5273/… – Sycorax says Reinstate Monica Aug 7 '19 at 13:33