Machine Learning For The Improvement Of Patient Flow