Using the IoT and machine learning to track progression of lung disease