Skip to content

Add clarifying comments, edge-case tests, and optional Cython axpy#61

Open
farukalpay wants to merge 1 commit intomainfrom
codex/add-detailed-inline-comments-and-testing-coverage
Open

Add clarifying comments, edge-case tests, and optional Cython axpy#61
farukalpay wants to merge 1 commit intomainfrom
codex/add-detailed-inline-comments-and-testing-coverage

Conversation

@farukalpay
Copy link
Copy Markdown
Owner

Summary

  • Explain curvature-calibrated parameters and step-size choice in PSD algorithm
  • Add optional Cython-backed axpy operation for in-place gradient updates
  • Introduce edge-case tests for zero Hessian Lipschitz constant and small gradients

Testing

  • PYTHONPATH=src pytest tests/test_algorithms_property.py::test_gradient_descent_converges_to_origin tests/test_algorithms_property.py::test_psd_handles_zero_hessian_lipschitz tests/test_algorithms_property.py::test_psd_returns_immediately_with_small_gradient -q

https://chatgpt.com/codex/tasks/task_e_68aca69f1cf88323adacfa4cd2cd8062

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant