Closed SSMK-wq closed 2 years ago
I see that the duration in holdout dataset is 365 days. So, just to ensure proper comparison between actual and predicted values, I should set the time horizon in the model predict function also as 365 days. Am I right?
Yes
Hey @SSMK-wq, I don't see a monetary value column being passed into calibration_and_holdout_data
in your screenshots. It's an optional parameter and easy to overlook; have you tried that?
@ColtAllen - My sincere apologies. My bad. yes, it works
@ColtAllen - Why is that we don't see
monetary_val
for calibration and holdout when we use "calibration_and_holdout_data" utility function. You can see that when I use the above btyd or lifetimes function (both tried), it results in below table (monetary value is missing). Can help me understand what is wrong here? If it is not there by design, then how do we compare the monetary values for actual and holdout datasets (using gamma gamma distributions)?For ex: Currently, am able to compare the frequency between actual holdout and predicted expected purchase as shown below
But how can we do the same for monetary value (using Gamma gamma model) when we don't have monetary column value in the
calibration_and_holdout_data
? currently the table looks like below. I should do it locally?one side question - I see that the duration in holdout dataset is 365 days. So, just to ensure proper comparison between actual and predicted values, I should set the
time horizon
in the model predict function also as 365 days. Am I right? I know based on business requirement, we can set different time horizons but to compare them correctly, we need to set as 365 days. Am I right?