BACKGROUND
Previous studies have shown a correlation between resting heart rate (HR) measured by wearable devices and serum free thyroxine concentration in patients with thyroid dysfunction.
OBJECTIVE
We have developed a machine learning (ML)-assisted system that uses HR data collected from wearable devices to predict the occurrence of thyrotoxicosis in patients.
METHODS
HR monitoring data were collected using a wearable device for a period of 4 months in 175 patients with Graves’ disease. During this period, 3 or 4 thyroid function tests (TFTs) were performed on each patient at intervals of at least one month. The HR data collected during the 10 days prior to each TFT were paired with the corresponding TFT results, resulting in a total of 662 pairs of data. Our ML-assisted system predicted thyrotoxicosis of a patient at a given time point based on HR data and their HR-TFT data pair at another time point.
RESULTS
Our ML-assisted system divided the 662 cases into either thyrotoxicosis and non-thyrotoxicosis and the performance was calculated based on the TFT results. The sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) of our system for predicting thyrotoxicosis were 86.14%, 85.92%, 52.41%, and 97.18%, respectively. When subclinical thyrotoxicosis was excluded from the analysis, the sensitivity, specificity, PPV, and NPV of our system for predicting thyrotoxicosis were 86.14%, 98.28%, 94.57%, and 95.32%, respectively. Our ML-assisted system used the change in mean, relative standard deviation, skewness, and kurtosis of HR while sleeping, and the Jensen-Shannon divergence of sleep HR and TFT distribution as major parameters for predicting thyrotoxicosis.
CONCLUSIONS
Our ML-assisted system has demonstrated reasonably accurate predictions of thyrotoxicosis in patients with thyroid dysfunction, and the accuracy could be further improved by gathering more data. This predictive system has the potential to monitor the thyroid function status of patients with thyroid dysfunction by collecting heart rate data, and to determine the optimal timing for blood tests and treatment intervention.
CLINICALTRIAL
trial registration number, clinicaltrials.gov NCT03009357, NCT04806269, and NCT05828732