This function serves as the internal S3 generic for ASpredict methods.
It dispatches the call to the appropriate method based on the class of training_object.
Currently, only as_train is implemented. Users or developers can
extend this generic by writing new methods for other classes.
ASpredict(training_object, ...)object.
other parameters.
This generic is not intended to be used directly by package users. It exists
to enable method dispatch for different classes. Marked as internal to keep
it out of the user-facing function index.