Better Rest uses Machine Learning to give you an estimation on optimal sleeping time based on the number of cups of coffee you had throughout the day, the time you want to wake up and the number of hours of sleep that you need.