Skip to content

Validate non-negative regularization in ridge-based solvers#1

Merged
paredezadrian merged 1 commit intomainfrom
codex/locate-and-fix-important-bug
Aug 18, 2025
Merged

Validate non-negative regularization in ridge-based solvers#1
paredezadrian merged 1 commit intomainfrom
codex/locate-and-fix-important-bug

Conversation

@paredezadrian
Copy link
Owner

Summary

  • ensure ridge, kernel ridge, and ELM training reject negative lambda_reg
  • add regression tests for negative regularization inputs

Testing

  • pre-commit run --files transformer_instant/linalg.py transformer_instant/utils.py transformer_instant/elm.py tests/test_negative_lambda_reg.py
  • pytest -q

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

@paredezadrian paredezadrian merged commit 451413f into main Aug 18, 2025
1 of 5 checks passed
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