Generic function for returning the predictions of a model
predict(obj, ...)
obj
The object controlling which method is used
...
Arguments depending on the specific method used