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

Fix DeepLDA regularization #114

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Fix DeepLDA regularization #114

merged 2 commits into from
Jan 3, 2024

Conversation

luigibonati
Copy link
Owner

@luigibonati luigibonati commented Jan 3, 2024

I have updated the Lorentzian regularization that is applied in the DeepLDA CV to keep the output around 1.

Previously, in fact, it was not consistent with the manuscript (and with the same documentation in the example tutorial on DeepLDA), since the regularization was not applied to the final CV output, but to the NN output, before the LDA projection.

From a practical point of view, it does not change much as the two quantities differ by a linear combination; in fact, the notebooks show results virtually the same as before.

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

Merging #114 (8972f5f) into main (fd7bce8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

@luigibonati luigibonati merged commit 04596c2 into main Jan 3, 2024
11 checks passed
@luigibonati luigibonati deleted the fix_lda_reg branch January 3, 2024 16:36
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