Calls the user-defined predict function for an object optimized through this package's functions.
# S3 method for stochQN_guided
predict(object, newdata, ...)
Optimizer from this module as output by functions `oLBFGS`, `SQN`, `adaQN`. Must have been constructed with a predict function.
Data on which to make predictions (will be passed to the user-provided function).
Additional arguments to pass to the user-provided predict function.