Berinteraksi dengan hasil
Dalam latihan ini, Anda akan memfilter, membuat plot, dan mengonversi ke DataFrame hasil CBPE yang diperoleh untuk himpunan data US Consensus dari contoh sebelumnya. Metode display di sini digunakan untuk menampilkan plot dan DataFrame yang dipanggil di tengah kode.
Hasil dari estimator CBPE telah dimuat sebelumnya dalam variabel estimated_results.
Latihan ini merupakan bagian dari kursus
Pemantauan Machine Learning dengan Python
Instruksi latihan
- Berinteraksilah dengan hasil estimasi berdasarkan komentar di atas setiap potongan kode.
Latihan interaktif langsung praktik
Cobalah latihan ini dengan melengkapi kode contoh ini.
# 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())