Question: Q7 [30 points]. Let's say I'm fitting a model (like logistic regression, or something else). I calculate my gradient by hand and then use it

 Q7 [30 points]. Let's say I'm fitting a model (like logistic

Q7 [30 points]. Let's say I'm fitting a model (like logistic regression, or something else). I calculate my gradient by hand and then use it within gradient descent. but I make a mistake in calculating my gradient. For each mistake, describe the implications for your model fitting in one sentence. a. My gradient is too large by a factor of 2 (my_grad 2 * true_grad) Type Markdown and LaTeX: 2 b. My gradient is off my a minus sign (my-grad -true-grad) Type Markdown and LaTeX C. My gradient is zero (my-grad = 0) Type Markdown and LaTeX 2 Q8 [10 points]. Your training a machine learning model and training error is high. The loss function is non-convex and you suspect you might be in a bad local minimum. How might you assess this hypothesis and/or address the problem? Type Markdown and LaTeX: 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!