During a study project a part of my work was investigating the predictability of the length of a patient's hospital stay given data collected in the first 24 hours. This project entailed receiving data through an SQL pipeline, data mining and finally a random forest was trained.