From Anonymous on 2016/03/04 15:56:24 +0000
I doubt many people will get the significance of this problem, but as someone who works with data a lot it really is pretty annoying.
Based on the graphs you display, it looks like you’re doing a polynomial regression, and then just looking for a local optimum. As the user gets lots of data, this will probably be fine (unless you increase the degree of the polynomial). But when there are just a few data points, it’s a pretty dramatic overfit. Currently I have around 10 nights logged. SAA is using what looks like a 4th-degree polynomial fit, and the fit just looks silly.
Copied from original feature request: http://urbandroid.uservoice.com/forums/264867-sleep-as-android/suggestions/12805599-regularize-regression-model