Hi Databricks Community,
I have followed the CLV Databricks accelator (https://databricks.com/notebooks/CLV_Part_1_Customer_Lifetimes.html) to do an initial CLV analysis. Thank you for sharing this with the community.
My question is that in the notebook the lifetimes_model.conditional_probability_alive & lifetimes_model.conditional_expected_number_of_purchases_up_to_time were incorporated into a spark UDF, is it possible to add in the plot_history_alive as well for the alive plot?
Many thanks,
Matthew