Using AI for predictive analytics in local marketing