The goal of this project is to apply tensor decomposition methods to data recorded from populations of neurons in visual cortex of mice as they switch between a visual discrimination task and an olfactory discrimination task. We mainly observed the structure identified by the TCA method and its implications for how task-switching influence neuronal population activity in visual cortex.
Install the dependencies of this project via requirements.txt.
pip install -r requirements.txt
Preprocess data tensor
python3 preprocess/run.py
Run TCA
python3 tca_run/run.py --replicates_no {int} --no_components {int} --save_data_dir {str} --data_dir {str} --tca
Run TCA cross validation
python3 tca_run/run.py --replicates_no {int} --no_components {int} --save_data_dir {str} --data_dir {str} --cross_val
Refitting
python3 tca_run/refitting.py --processed_dir {str}--data_dir {str} --mouse_no {int}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Thank you Angus Chadwick for supporting me throughout my thesis process and UoE for giving me an opportunity to study there for my master.
This project mainly used tensortools, and hypothesize based on this paper.
My slides are available here. I sometimes update the slides so please check for any updates and the thesis is available in this github.
The data tested on this project is not publicly available.