The plot below shows the initial failed effort to predict future data. The main reason behind the failure was missing data as shown by line segments. The dataset is in blue color whereas the predicted data is in red color. Note: This graph also limit data due round off error corrected afterward in the code.
Many thanks to Dr. Muhammad Usama Zafar, Hamdard University; again for his suggestion to recover the missing data in the dataset and data prediction. The code in my Earlier Post below is used to generate the missing data.
Earlier Post: Graph2Data in Python with Bounding Box and Extracted Data Scaling
The Fourier Extrapolation code below is used on the complete dataset to generate the predicted data.
The plot below shows the final output. The round off error in the code is also corrected.
No comments:
Post a Comment