Finance, Python, Deep Learning, Analytics, Artificial Intelligence.
label='Fourier transform with {} components'.format(num_)) plt.xlabel('Days') plt.ylabel('USD') plt.title('Goldman Sachs (close) stock prices & Fourier transforms') plt.legend() plt.show() The resulting plot shows the actual closing prices of the Goldman Sachs stock alongside the Fourier transforms