Adaptive confidence learning for the personalization of pain intensity estimation systems