Sophisticated computer models are learning how to treat lung disorders, linking up the underlying problem with the right treatment.