added evaluation of class/regression