Having problems granding assignment:
There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
name ‘series_valid’ is not defined
I did get a new version of the notebook and tried known to me remediation steps. What would you advise?
screenshot removed as it contains grade cell codes. A mentor will ask you, if they want to review your codes by personal DM, posting codes, sharing links to notebook is against community guidelines
I’m still confused as to why the results are still like that. Maybe I can send my notebook and code to check directly or if there are any other suggestions
you are not suppose to just refresh your notebook, open the pinned comment which mentions how each code should be written, the most probable reason for series_valid not defined some when were you had to use a series variable, you must have used incorrect variable, like instead of global variable you used local variable or vice versa. The pinned comment I shared mentions that.
Refreshing your notebook will not resolve your issue.
Kindly get a fresh copy of assignment and re-do the assignment by making sure not to hard code path to any of the already given function when you start the assignment.
Your codes for compute metrics is incorrect. kindly do not hard code the path, also use tf.keras.Losses.MSE/MAE function to do the metrics. You also do not need to use the conversion tf datatype for that cell.
next in your diff moving average forecast, perform slicing code is incorrect.
Next your smooth past series code is also hard coded. Refer the pinned comment to do the correction
Remember getting a fresh copy means, either renaming the assignment copy you have done or deleting this copy and then rebooting, and updating lab, gets you a fresh copy.
I usually prefer to delete all the files and then get a fresh copy to avoid any resubmission failure as some previous file still have caused submission failure for me.
Also not to forget when this time you re do the assignment, only write codes as per the instructions already given, do not add any more extra code lines for successful submission.
Regards
DP