Hello, I’d like to suggest two things concerning the regression for giving advice (maximize deep sleep):
- For the visualization it would be better to use different symbols for measured data points and fitted curve.
- Often only a local maximum is used for the advice, although the value at one of the boundaries is higher.
Both things should be easy to implement.
Thanks and best wishes.