Getting unfitted graph in Matplotlib Feature scaling optional lab

The image of the graph i’m getting for the cosine function.

Can someone please suggest me the appropriate value of the alpha ,W(Parameter ) and biases.Or any other way by which i can get the appropriate graph

The Needed graph:

You do not need to make any changes to the optional lab.

It appears your thread title is incorrect, I think you’re working on the Feature Engineering and Polynomial Regression lab.

You can look at the code for the run_gradient_descent_feng(…) function by opening the file from the Files → Open menu.