cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Logging Lifetime Plot_history_alive as a model

MatthewLau
New Contributor

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

0693f000007OoRXAA0

0 REPLIES 0
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.