What is this piece of code?

Hey all! Just a quick question…

What does the " _, _, " in the following line of code from C1W2 - Lab 3?

_, _, hist = run_gradient_descent(X_train, y_train, 10, alpha = 9.9e-7)

It means to ignore these terms.
For example, if the output of the run_gradient_descent function is: w, b, hist. The above code means ignore the w and b, we don’t want it. Just calculate the hist.

1 Like

Wow that was quick. Thank you kind sir! :pray: