Generic function for returning the number of fits in a trained learner
get_num_fits(obj, ...)
obj
The object controlling which method is used
...
Arguments depending on the specific method used