ageron / ageron/handson-ml2

Grid Search Best Estimator

Ouverte
#251 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
30k
Forks
13.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.