Question 2
Suppose a data set has samples and each sample has two features and . Assume that is a sparse feature and is a dense feature (that is, value for most of the samples is zero). Further, we apply Stochastic Gradient Descent on this data and plot a contour plot of the loss surface and observe the movement of parameters (i.e., trajectory) across iterations. Let and be the parameters corresponding to and respectively.
Assume bias to be zero for this question and the parameters are initialized to zero.
In the contour plot of a loss surface, what is the initial movement expected to look like if is plotted on the horizontal axis and is plotted on the vertical axis?
Hint: Think of the possible configurations of inputs for the first few iterations
Zig-zag movement along the horizontal axis
Zig-zag movement along the vertical axis
Mostly straight along the horizontal axis
Mostly straight along the vertical axis
Insufficient data