For running the MATLAB code for sleep scoring follow the following steps:
- Download the Sleep Scoring code from github https://github.com/anjaliagarwal8/Sleep-Scoring.git
- Proceed to the folder mcRBM_matlab/
- Add the data (mat file of features) you want to score in the same folder.
- Edit the file input_configuration.mat to modify parameters involved in the mcRBM algorithm, number of hidden units, learning rate, number of epochs, etc.
- Run the main.m file in Matlab.
- The variables needed for finding the number of latent states of sleep will be saved as variables.mat after the program has successfully run for the provided number of epochs.
- The results after the analysis of these variables will be saved in the respective folders inside the AnalysisResults folder.
- Watson, B. O., & Buzsáki, G. (2015). Sleep, Memory & Brain Rhythms. Daedalus, 144(1), 67–82. https://doi.org/10.1162/DAED_a_00318
- Watson, B. O., Levenstein, D., Greene, J. P., Gelinas, J. N., & Buzsáki, G. (2016). Network Homeostasis and State Dynamics of Neocortical Sleep. Neuron, 90(4), 839–852. https://doi.org/10.1016/j.neuron.2016.03.036
- Katsageorgiou VM, Sona D, Zanotto M, Lassi G, Garcia-Garcia C, et al. (2018) A novel unsupervised analysis of electrophysiological signals reveals new sleep substages in mice. PLOS Biology 16(5): e2003663. https://doi.org/10.1371/journal.pbio.2003663
- Ranzato, M., & Hinton, G.E. (2010). Modeling pixel means and covariances using factorized third-order boltzmann machines. 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2551-2558.