Removed unnecessary code in predictor.cc