Trying to finish C4_W1 assignments, but I’m getting below errors and got 0 score from all the grade points.
train_val_split0/10 points earned
There was a problem compiling the code from your notebook, please check that you saved before submitting. Details: name ‘series_valid’ is not defined
compute_metrics ( 0 points / 10 )
There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
name ‘series_valid’ is not defined
Can you please help ?
When I ran individual cell in jupyter notebook, it generated exactly same output as the expected out - graphs / numbers etc.
Thanks for creating the public topic. Please rely on function parameters and local variables when possible. For example, in function train_val_split, there’s no reason to use SPLIT_TIME for slicing the series.
Please click on my name to start a private message. Then, attach your notebook as a .ipynb file. Please note that mentors cannot access your Coursera Jupyter workspace, so sending the notebook in a .ipynb format is essential.
The problem with the notebook is that you’ve changed the signature of train_val_split from that of the starter code. Please code in places only where the staff have asked you to code.
For reference, this is the version in starter code: