Text this: Pulmonary gas exchange evaluated by machine learning a computer simulation