Initial dev#1
Open
jkim0731 wants to merge 13 commits into
Open
Conversation
- run GLM for Thyme natural images sessions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Functions are still in notebook cells.
It will be good enough to check how it's done, and to point out errors if any.
The results are saved in the scratch folder (also as a dataAsset), so it can be used for further analysis by duplicating the capsule or downloading it.
It does not take too long to calculate specific lambda per model - about 15 min for 34 models with 25 nested cv folds.
Surprisingly, the fit traces from mean W and those from stitched from each cross-validation (_from_splits) are very similar, and the fit is quite good. (note that even though the name says filtered_events, these are still unfiltered raw events)
It means that the models across cv folds are very similar (possibly due to stratification).
Also the good performance might be from GCaMP8s.
But these also could be due to some errors in the code.
Remaining works