ageron / ageron/handson-ml

Chapter 3: cross_val_predict()

Abierto
#435 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
25.6k
Forks
12.7k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

This chapter uses `cross_val_predict()` to make cross validation predictions, and then use them to compute some metrics like confusion matrix, recall, precision, and more.

But Sklearn documentation (https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.cross_val_predict.html) says the following: "It is not appropriate to pass these predictions into an evaluation metric. Use cross_validate to measure generalization error."

So, what's the point here? Can we use `cross_val_predict()` results to compute metrics? Or am I missing something?

Thanks in advance!

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.