Supervised Machine Learning: Regression and Classification week 2 Regression Model Optional Lab: Cost function

Supervised Machine Learning: Regression and Classification week 2 Regression Model Optional Lab: Cost function

plt.style.use(‘./deeplearning.mplstyle’)
from lab_utils_uni import plt_house_x, plt_contour_wgrad, plt_divergence, plt_gradients

plt_gradients(x_train, y_train, compute_cost, compute_gradient)

what are this three lines of python code?
what do we expect for the output?

I tried to run it in my vscode using wsl, but it got error

These lines of code do:

  1. set the plotting style
  2. import a bunch of functions from the the lab_utils file
  3. calls one of the functions

You can check them in File->Open and you also need these files to run the lab, be it outside coursera or in it.