BaşlayınÜcretsiz Başlayın

Evaluate the classifier

A trained logistic regression model df_fitted is available. A dataframe df_testset is available containing test data for this model.

Bu egzersiz

Introduction to Spark SQL in Python

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Score the trained model on the test data.
  • Print the Area Under Curve metric.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Score the model on test data
testSummary = ____.____(____)

# Print the AUC metric
print("\ntest AUC: %.3f" % testSummary.____)
Kodu Düzenle ve Çalıştır