Optimization of proactive services with uncertain predictions