C2_W2_Assignment obsolete numpy code

Part 2 of the C2_W2 Assignment uses np.polyfit.
As per the Numpy Documentation
https://numpy.org/doc/stable/reference/generated/numpy.polyfit.html

The Polynomial.fit class method is recommended for new code as it is more stable numerically. See the documentation of the method for more information.

Can we update the code to avoid deprecated items?

1 Like

Hi @Nicholas_J_Feliccia!

Thanks for your feedback. I will forward it to our team, so they can take appropriate action.

Cheers,
Lucas

Iā€™m having issue with grading for 2days. My code passed all unit tests but still I got 0 grade. Apparently there was some kind of problem compiling my code, what should I do?