Respiratory system mechanics assessed by artificial neural networks