-
Notifications
You must be signed in to change notification settings - Fork 11
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 issue 338 - pspm_glm #339
Conversation
src/pspm_glm.m
Outdated
else | ||
warning('ID:invalid_input', ... | ||
['More than 10% of input data was filtered out due to missing epochs, ',... | ||
'which is highly likely caused by downsampling. Results may be inaccurate.']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say "is possibly caused by downsampling" - the data might just as well have been missing in the first place, before downsampling.
Just to make sure, is this line in the fix correct? perc_missing = 1 - sum(glm.M)/length(glm.M); I'm getting a warning related to this variable a lot and intuitively it makes more sense without the |
Hi @m-guggenmos, |
Great, thanks for the prompt response! |
Fixes #338.
Changes proposed in this pull request: