I am trying to create plot for Stochastic gradient descent . I am not getting how to write code at fourplaces marked in below code. Consider