reimplement predict and errorMeasure