HW13 solution – Statistical and Mathematical Methods for Data Sciences

Solution for Q1 is in the book Stephen Boyd’s Convex Optimization.

11 thoughts on “HW13 solution – Statistical and Mathematical Methods for Data Sciences

      1. you used x=x – a*f'(x) in question 2 and x=x + a*f'(x) in question 3. I am assuming the negative sign is for gradient descent and the positive sign is for gradient ascent. Knowing if the function is convex or concave will help in picking the formula.

        Like

        1. correct! since the objective function is concave, the goal is to maximize it. The update equation is then adjusted accordingly.
          You can also solve it by converting it to a convex function and use the update equation given before.

          Like

    1. Yes, the nature of A will affect whether its a convex or a concave function. Based on that you will then decide if you should maximize or minimize that function.

      Like

Leave a comment