expose Predict and Fit interface