These are the examples from the book, including code and a detailed discussion. For details, refer to the section of the book. You can access each example from the menu above, or following these links:

  • Chapter 2.
    • PCA Example.
  • Chapter 4.
    • Uplift modelling example.
  • Chapter 5.
    • Cost sensitive learning example.
    • Profit Driven Segmentation example.
  • Chapter 6.
    • Profit Driven Evaluation example.