Machine Learning voor marketing in Python
Karolis Urbonas
Head of Analytics & Science, Amazon
Gebruik de eerste maand om cohortgroottes te berekenen
cohort_sizes = cohort_counts.iloc[:,0]
Bereken retentie door MAU te delen door de startgroottes en leid churn af
retention = cohort_counts.divide(cohort_sizes, axis=0)
churn = 1 - retention
Plot de retentiewaarden als heatmap
sns.heatmap(retention, annot=True, vmin=0, vmax=0.5, cmap="YlGn")
Machine Learning voor marketing in Python