Data-driven transition matrix estimation in probabilistic learning models for autonomous driving