How to understand time_offsets #107
-
Hi, i am new to CEBRA, and I just reading the doc and I do not understand the time_offsets in setting cebra_model. is the neural activity windows? or about the behaviour data? what is the default 10 means? the behaviour of mice i observed may delay the neural activity in about 10 second. is that related time_offsets setting? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Welcome! 👋 the offset can be thought of as a binning set, or "receptive field" in time; this would be in the neural space (if neurons are your time-series input). So for example in the hippocampus demo we use offset 10, as is 10 time bins of neural spikes that was recorded at 120hz. This is a parameter we recommend finding what works best via our grid search. Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! |
Beta Was this translation helpful? Give feedback.
-
Hello! Thank you very much for your work. I have been using it in various projects and I am finding it very useful. I am, however, confused by the difference between the time_offsets that is defined as a hyperparameter, and the offset that is defined in the In the example below, I can see from the model definition that the receptive field of 'offset36-model' is (18, 18). How then should I think of the time_offset hyperparameter (set as 25 in this example)?
|
Beta Was this translation helpful? Give feedback.
Welcome! 👋 the offset can be thought of as a binning set, or "receptive field" in time; this would be in the neural space (if neurons are your time-series input). So for example in the hippocampus demo we use offset 10, as is 10 time bins of neural spikes that was recorded at 120hz. This is a parameter we recommend finding what works best via our grid search. Hope that helps!