Question 1

Gradient descent is an algorithm for finding values of parameters w and b that minimize the cost function J:

When is a negative number (less than zero), what happens to w after one update step?

  • w increases.
  • w decreases
  • It is not possible to tell if w will increase or decrease.
  • w stays the same

Question 2

For linear regression, what is the update step for parameter b?