ComenzarEmpieza gratis

Interactuar con resultados

En este ejercicio, vas a filtrar, representar y convertir a DataFrame los resultados de CBPE obtenidos para el conjunto de datos US Consensus del ejemplo anterior. El método display se utiliza aquí para mostrar las gráficas y los DataFrames que se llaman a mitad del código.

Los resultados del estimador CBPE están precargados en la variable estimated_results.

Este ejercicio forma parte del curso

Monitorización de Machine Learning en Python

Ver curso

Instrucciones del ejercicio

  • Interactúa con los resultados estimados siguiendo los comentarios encima de cada fragmento de código.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Filter estimated results for the roc_auc metric and convert them to a dataframe
display(estimated_results.____(____=[____]).____())

# Filter estimated results for the reference period and convert them to a dataframe
display(estimated_results.____(____=____).____())

# Filter the estimated results for the accuracy metric
display(estimated_results.filter(____=____).plot().show())

# Filter the estimated results for the analysis period, as well as for accuracy and roc_auc metrics
display(estimated_results.filter(____=____, ____=[____, ____]).plot().show())
Editar y ejecutar código