Cooperative Learning for Personalized Context-Aware Pain Assessment From Wearable Data