Before and After: Machine learning for perioperative patient care