predictor API modified, add predictor sgd linear.py