Skip to content

Fix SVD implementation#14

Draft
DurieuxPol wants to merge 2 commits intoPolyMathOrg:masterfrom
DurieuxPol:fix/svd
Draft

Fix SVD implementation#14
DurieuxPol wants to merge 2 commits intoPolyMathOrg:masterfrom
DurieuxPol:fix/svd

Conversation

@DurieuxPol
Copy link
Contributor

@DurieuxPol DurieuxPol commented Mar 13, 2026

[WIP]
Fixes pharo-ai/linear-models#27

Fixes the SVD implementation by computing left singular vectors from the right singular vectors, rather than computing them both separately, to prevent potential sign errors.

@jordanmontt
Copy link
Member

Cool, could you add some tests? :D

@DurieuxPol
Copy link
Contributor Author

It's planned ! I have still some things to clean up as well, I will do all that next week

@jordanmontt
Copy link
Member

Ok! I will mark the PR as a draft then. And when it will be finished we can marge it

@jordanmontt jordanmontt marked this pull request as draft March 13, 2026 16:23
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

Successfully merging this pull request may close these issues.

AILinearRegressionLeastSquaresVanilla is still broken

2 participants