Applying and using advanced analytics models in real-time