Exercise

Compare to a single classifier

You learned that boosted trees are among the best machine learning algorithms available. To underpin that, you will now compare the AUC of a boosted model to a simple decision tree classifier.

In this exercise, you will use the whole machine-learning pipeline from specification to evaluation.

The training data customers_train is still pre-loaded.

Instructions 1/2

undefined XP
  • 1
    • Specify, fit, and predict probabilities of a boosted model on the training data using the given formula and add the results to the data.
    • Calculate the in-sample AUC of your predictions.
  • 2
    • Change your code so that the same is done using a simple decision tree classifier.