Sonuçlarla etkileşim
Bu egzersizde, önceki örnekte US Consensus veri kümesi için elde edilen CBPE sonuçlarını filtreleyecek, görselleştirecek ve DataFrame'e dönüştüreceksin. Burada display metodu, kodun ortasında çağrılan grafik ve DataFrame'leri göstermek için kullanılıyor.
CBPE tahmincisinden gelen sonuçlar estimated_results değişkenine önceden yüklenmiştir.
Bu egzersiz
Python ile Machine Learning İzleme
kursunun bir parçasıdırEgzersiz talimatları
- Her kod parçasının üstündeki yorumlara göre tahmini sonuçlarla etkileşime geç.
Uygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# 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())