Good day, I have been trying to get this exercise done but still getting errors not sure why, I called all my previous variables and defined all the functions but now I got this error when I run the unitest at the end of the Exercise 3 in the assignment
The “Calculus for Machine Learning and Data Science” course is C2 of the M4ML Specialization. The top of the notebook looks like this, if I am correct:
Now that you mentioned, I followed the steps to get the latest version and rebooted my notebook twice, I believe I have already the most recent version of the files, but I am not sure
I pointed out that your function definition for L_of_omega_array() is incorrect. It is different from what is in the current version of the notebook.
I am curious why your function definition is wrong. There are two possibilities:
Maybe you modified the function definition. That would be bad, because you are not supposed to modify anything in the notebook outside of the YOUR CODE HERE areas.
You could be using an obsolete copy of the notebook. That is also bad. But there is a way to fix it.
Like I said, I am not sure what version I am currently using, I rebooted the notebook and reset everything to get the latest version of it, I have not modify anything besides the spaces I am allowed to modify, I see what your saying about how the variables are named, but in my notebook the examples are “prices_A” instead “pA”.
I had to change all the variables names from “pA” to “prices_A” and It worked, but I am confused, I had to modify the section that I am not supposed to change (the name variables in the functions), I just wanted to understand when I am supposed to change the current version of the notebook.