Retention and Prevention Campaigns optimization with machine learning