- Python Machine Learning Cookbook(Second Edition)
- Giuseppe Ciaburro Prateek Joshi
- 69字
- 2021-06-24 15:41:01
The randomized search algorithm
Unlike the GridSearchCV method, not all parameter values are tested in this method, but the parameter settings are sampled in a fixed number. The parameter settings that are tested are set through the n_iter attribute. Sampling without replacement is performed if the parameters are presented as a list. If at least one parameter is supplied as a distribution, substitution sampling is used.