OptML_course icon indicating copy to clipboard operation
OptML_course copied to clipboard

Lab 02 solution mistake

Open davidgonmar opened this issue 1 year ago • 0 comments

{50616BD9-1A5C-427B-8D3D-2B0692DC3B9C}

In Lab 02, the grad_norm_bound value in the last section is computed incorrectly. It should be calculated as (25 * np.linalg.norm(np.dot(A.T, A), 2) + np.linalg.norm(np.dot(A.T, b))) / A.shape[0] in order to use the Spectral Norm (not specifying the ord argument yields the Frobenius norm).

davidgonmar avatar Dec 31 '24 17:12 davidgonmar