pdf23ds comments on Modeling sleep patterns - Less Wrong

10 Post author: pdf23ds 12 April 2011 02:02AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (46)

You are viewing a single comment's thread. Show more comments above.

Comment author: Daniel_Burfoot 12 April 2011 03:36:52AM 2 points [-]

Is there some sort of pattern detecting thing ... that could automatically take a time series data and predict the next values based on an unknown, complex model?

There are lots of tools like this. The problem is getting enough clean data. If you don't have enough data, you won't be able to use a complex model without overfitting. If the underlying phenomena (i.e. your sleep cycles) is itself complex, then you won't be able to obtain a good description. On the other hand, it can't hurt to try. How much data do you have?

Comment author: pdf23ds 12 April 2011 03:44:15AM 2 points [-]

I have six months of past sleep data, though nothing current, with sleep and wake times. I could easily augment that with other potentially relevant variables, like daily caffeine intake or whatnot.

Comment author: Daniel_Burfoot 12 April 2011 05:19:16PM 3 points [-]

As a starter method, I would try Adaboost. AdaBoost is nice because it is easy to implement, gives some protection against overfitting, and allows you a lot of liberty to define whatever context functions/predictors you want. Try to predict whether a given hour will be sleep or not. Use whatever information like caffeine intake you can as predictors, and use as many of them as you can dream up: AdaBoost will figure out which ones are the most important.

Comment author: pdf23ds 12 April 2011 07:00:49PM 1 point [-]

Helpful, thanks.

Comment author: gwern 12 April 2011 02:34:14PM *  3 points [-]

Wake and sleep times don't strike me as very good data, IMO. If you had 6 months of Zeo data, that'd be real data you could try to feed into a model of some sort.