create a function that classifies whether user is in deep sleep or not in deep sleep, using HRM or accelerometer data.
(probably) most relevant:
https://help.fitbit.com/articles/en_US/Help_article/2163#AutomaticDetection
publications:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4883440/