Diff_moving_avg to smooth past series

I got 66/100 on my notebook

Please click my name and message your notebook as an attachment. Send the notebook in ipynb format. No pdfs / images please.

I don’t see the same stack trace when running your notebook. Am I missing something?

i solved that problem, but i got new mistake when I sent it to automatic grader. I got 66/100

Please update your topic to reflect the doubt and not some random stacktrace.

Fix your calculation of smooth_past_series. The series should not include diff_moving_avg in the calculation.
There’s a diff_moving_avg_plus_smooth_past which combines both results.

I got this, but it has still get 0/10 in 2 parts. Here is, what happened with that, sir?

I don’t follow. If you fixed the code based on my feedback and got the expected results as shown in the notebook, please click my name and message your notebook as an attachment. Send the notebook in ipynb format and not in pdf / image format.

  1. In function train_val_split, don’t rely on global variables SPLIT_TIME and SERIES. Please use function parameters instead.
  2. In the cell # Apply the moving avg to diff series:
    a. There’s no need to compute diff_series.
    b. Don’t change the starter code plot_series(time_valid, diff_series[1100 - 365:]).

i have put plot_series(time_valid, diff_series[1100 - 365:]) as previously and change another elements like what you said, but this what i got

Please click my name and message your notebook as an attachment.