Enable grid search with classifiers that may throw an error on individual fits.