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

Add option to standardize data before obtaining shrinkage gamma #216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jsosulski
Copy link

Similarly to the default LDA implementation is sklearn (see here) this PR exposes the option to standardize the feature dimensions before obtaining the shrinkage gamma.

We found that this improves classification performance slightly, especially when feature dimensions have largely differing scale. This can be the case when one channel with bad impedance shows much higher variation than the other channels, but this channel cannot be rejected for some reason.
While we always standardize before calculating shrinkage amount, the default is set to 0/false to not interfere with existing code bases.

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