ageron / ageron/handson-ml2

Grid Search Best Estimator

Abierto
#251 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
30k
Forks
13.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.