A Machine-Learning-Based System for Prediction of Cardiovascular and Chronic Respiratory Diseases