rasbt / python-machine-learning-book

The "Python Machine Learning (1st edition)" book code repository and info resource
MIT License
12.24k stars 4.4k forks source link

question about in [29] #57

Closed shaoeChen closed 7 years ago

shaoeChen commented 7 years ago

dear sir.. i try to study Machine Learning through your book 『Python Machine Learning』, and it's very nick book! i can't understand how you to set up 『param_grid』 i try to get the information from sklearn but it just say『dict or list of dictionaries』 even the sample , it just write 『param_grid=....』 So ... about the 『param_grid』 how do i set it up! i am sorry my english is a little week! i hope i can let you know my question and thank you very much!

rasbt commented 7 years ago

Hi there, Note sure how far you've read in the book, but there are a few examples in chapter 6, in the section Fine-tuning machine learning models via grid search. (And here are the corresponding code examples: https://github.com/rasbt/python-machine-learning-book/blob/master/code/ch06/ch06.ipynb).

Does that help?