ageron / ageron/handson-ml2

Grid Search Best Estimator

Đang mở
#251 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
30k
Fork
13.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In both the book and the example on github, when using the grid search to find the best estimator, gridsearch.best_estimator returns something that looks like the following:

![image](https://user-images.githubusercontent.com/11891298/92843714-abc49b00-f3aa-11ea-962d-38160677383a.png)

However, when I run the same thing on my local machine, all I get is this:
![image](https://user-images.githubusercontent.com/11891298/92843866-d6165880-f3aa-11ea-8efc-b30cc053c7b6.png)

So two questions. The first is why am I getting slightly different hyperparameters (I've seen it flip-flop between 6 and 8 for max_features). Is it because the folds are randomized, so the models that are trained are slightly different? And the second question is why in the output it only gives me the two hyperparameters I asked it search over, but not the rest. Is there some setting I'm missing?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.