[scikit-learn] Specifying exceptions to ParameterGrid