ageron / ageron/handson-ml2

Chapter 3 i get this error

Abierto
#395 1 comentario 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

I get error when i run the fit in the grid_search, why is this?

```python
from sklearn.model_selection import GridSearchCV

param_grid = [
{"weights": ["uniform"], "n_neighbors" : [3, 5, 10, 20]},
{"weights": ["distance"], "n_neighbors": [3, 5, 10, 20]},
]

grid_search = GridSearchCV(knn_clf, param_grid, cv = 3, scoring = "f1_macro")

grid_search.fit(X_train_scaled, y_train)
```

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.