Machine learning for automatic analysis of affective behaviour