Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[MRG+1] Fix [RandomizedSearchCV] Do not enforce that n_iter is less than or equal to size of search space #10982
What does this implement/fix? Explain your changes.
Changed exception raised if ParameterSampler is instantiated with a greater value of n_iter than the total space of parameters in the parameter grid to a warning. n_iter now acts as an upper bound.
Any other comments?
(perhaps this should be a UserWarning, not a Runtime warning)
Please add an entry to the change log at