A machine learning model for frailty based on wearable device measurements