So a wearable device like Fitbit has data from accelerometer( movements in the wearable(watch) ) and also heart rate depending upon the device. And using the data from these inputs, fitbit is able to predict how much user has slept. So data I have looks like :
Time |Screen | Mobile_state | Plugged/Unplugged|
10PM - 10:30PM | ON | Moving | Unplugged
11PM - 11:15PM | ON | Moving | Plugged
11:15PM - 11:51PM | OFF | Idle | Plugged
11:51PM - 6:00AM | OFF | Idle | Plugged
6AM - 6:10AM | ON | Idle | UnPlugged
6:10AM - 8:00AM | OFF | Idle | UnPlugged
So here I have 3 parameters, using which i can say user slept from 11:15 till 6AM.
In reality i may have 5-6 params like these.
What kind of ML algorithm might be useful here which takes this kind of input and gives (11:15PM,6AM) as the output