Added functionality to create baseline predictor.