btyd icon indicating copy to clipboard operation
btyd copied to clipboard

Fix Plotting Dependencies on Calibration vs. Holdout Purchases

Open ColtAllen opened this issue 1 year ago • 0 comments

It's been a longstanding issue in the legacy Lifetimes library that the plot_calibration_purchases_vs_holdout_purchases function in plotting.py cannot be used without first running data through calibration_and_holdout_data in utils.py. This is a useful plotting function for model evaluation, but for those of us working with huge volumes of transaction data, utils.py just isn't going to cut it and the RFM aggregations must be done in a separate service like Spark or Snowflake, effectively blocking the use of this function.

Replacing the calibration_holdout_matrix argument with separate calibration_matrix and holdout_matrix arguments should be enough to resolve this matter.

ColtAllen avatar Jul 31 '22 20:07 ColtAllen