Skip to content

Using softmax invariance by translation to prevent overflow#26

Open
Polarolouis wants to merge 1 commit into
matthias-da:masterfrom
Polarolouis:master
Open

Using softmax invariance by translation to prevent overflow#26
Polarolouis wants to merge 1 commit into
matthias-da:masterfrom
Polarolouis:master

Conversation

@Polarolouis

@Polarolouis Polarolouis commented Apr 21, 2026

Copy link
Copy Markdown

I have been encountering errors where pivotCoordInv yields NaN when the x matrix results in large y values.
To prevent this I used the softmax invariance to translation to substract the max by row thus handling numeric overflow.

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.

1 participant