Deeply embedded machine learning marketing architecture