Activity Learning: Discovering, Recognizing, and Predicting Human Behavior from Sensor Data