automatic pain intensity estimation with heteroscedastic conditional ordinal random fields .
The BayesNet Toolbox for Matlab