[IDEA] Chapter 3: 90% recall classifier
Abierto
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 30k
- Forks
- 13.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
In chapter 3 (p, 96) see how a 90% precision classifier can be created.
What about a 90% recall classifier?
One would be tempted to do (at least I was)
```
threshold_90_recall = thresholds[np.argmax(recalls >= 0.90)]
```
but a simple
```
recalls[np.argmax(recalls >= 0.90)] # result 1.0
```
would demonstrate that it's not correct.
I've tried different solutions and this is the most elegant/concise I came up with
```
threshold_90_recall[len(recalls) - np.argmax(recalls[::-1] >= 0.90) - 1]
```
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.