Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 02 solution mistake #13

Open
davidgonmar opened this issue Dec 31, 2024 · 0 comments
Open

Lab 02 solution mistake #13

davidgonmar opened this issue Dec 31, 2024 · 0 comments

Comments

@davidgonmar
Copy link

{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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant