error in evaluate is raised if len(labels) does not match gm.numberOfLabels