| Literature DB >> 35741278 |
Jinyoung Kim1, Han-Sang Baek2, Jeonghoon Ha2, Mee Kyoung Kim1, Hyuk-Sang Kwon1, Ki-Ho Song1, Dong-Jun Lim2, Ki-Hyun Baek1.
Abstract
Differential diagnosis of thyrotoxicosis is essential because therapeutic approaches differ based on disease etiology. We aimed to perform differential diagnosis of thyrotoxicosis using machine learning algorithms with initial laboratory findings. This is a retrospective study through medical records. Patients who visited a single hospital for thyrotoxicosis from June 2016 to December 2021 were enrolled. In total, 230 subjects were analyzed: 124 (52.6%) patients had Graves' disease, 65 (28.3%) suffered from painless thyroiditis, and 41 (17.8%) were diagnosed with subacute thyroiditis. In consideration that results for the thyroid autoantibody test cannot be immediately confirmed, two different models were devised: Model 1 included triiodothyronine (T3), free thyroxine (FT4), T3 to FT4 ratio, erythrocyte sediment rate, and C-reactive protein (CRP); and Model 2 included all Model 1 variables as well as thyroid autoantibody test results, including thyrotropin binding inhibitory immunoglobulin (TBII), thyroid-stimulating immunoglobulin, anti-thyroid peroxidase antibody, and anti-thyroglobulin antibody (TgAb). Differential diagnosis accuracy was calculated using seven machine learning algorithms. In the initial blood test, Graves' disease was characterized by increased thyroid hormone levels and subacute thyroiditis showing elevated inflammatory markers. The diagnostic accuracy of Model 1 was 65-70%, and Model 2 accuracy was 78-90%. The random forest model had the highest classification accuracy. The significant variables were CRP and T3 in Model 1 and TBII, CRP, and TgAb in Model 2. We suggest monitoring the initial T3 and CRP levels with subsequent confirmation of TBII and TgAb in the differential diagnosis of thyrotoxicosis.Entities:
Keywords: differential diagnosis; hyperthyroidism; machine learning; thyrotoxicosis
Year: 2022 PMID: 35741278 PMCID: PMC9222156 DOI: 10.3390/diagnostics12061468
Source DB: PubMed Journal: Diagnostics (Basel) ISSN: 2075-4418
Baseline characteristics of the study cohort.
| Graves’ Disease | Painless Thyroiditis | Subacute Thyroiditis |
| |
|---|---|---|---|---|
| Age years, mean (SD) | 46.89 (14.81) | 47.05 (11.30) | 51.71 (13.46) | 0.132 |
| Female, number (%) | 85 (67.7) | 53 (81.5) | 33 (80.5) | 0.070 |
| Thyroid function test | ||||
| TSH μIU/mL, mean (SD) | 0.011 (0.033) | 0.040 (0.159) | 0.038 (0.091) | 0.081 |
| T3 ng/mL, mean (SD) | 3.45 (1.75) | 1.96 (0.83) | 2.08 (0.70) | <0.001 |
| FT4 ng/dL, mean (SD) | 4.09 (2.15) | 2.72 (1.09) | 3.12 (1.58) | <0.001 |
| Thyroid auto-antibodies | ||||
| TBII positive, number (%) | 116 (93.5) | 0 (0.0) | 6 (14.6) | <0.001 |
| TSI positive, number (%) | 111 (89.5) | 1 (1.5) | 2 (4.7) | <0.001 |
| TPOAb positive, number (%) | 74 (59.7) | 27 (41.5) | 5 (11.6) | <0.001 |
| TgAb positive, number (%) | 62 (50.4) | 52 (80.0) | 5 (12.2) | <0.001 |
| Inflammatory markers | ||||
| ESR mm/h, mean (SD) | 13.39 (11.34) | 14.61 (12.26) | 66.08 (35.42) | <0.001 |
| CRP mg/L, mean (SD) | 1.36 (1.80) | 1.93 (3.67) | 35.46 (58.16) | <0.001 |
SD, standard deviation; TSH, thyroid stimulating hormone; T3, triiodothyronine; FT4, free thyroxine; TBII, TSH binding inhibitory immunoglobulin; TSI, thyroid stimulating immunoglobulin; TPOAb, anti-thyroid microsomal antibody; TgAb, anti-thyroglobulin antibody; ESR, erythrocyte sedimentation rate; CRP, C-reactive protein.
Figure 1Flow chart of enrolled study subjects.
Figure 2Accuracy, sensitivity, and specificity of biomarkers (%) for each disease are indicated by bar graphs. TBII, thyrotropin binding inhibitor immunoglobulin; TSI, thyroid stimulating immunoglobulin; TPOAb, anti-thyroid peroxidase antibody; TgAb, anti-thyroglobulin antibody; ESR, erythrocyte sedimentation rate; CRP, C-reactive protein * Available only in 149 patients.
Predicted value according to machine learning algorithm using initial blood test results (Model 1) and including thyroid antibody test results (Model 2).
| Accuracy Classifier | Training Set ( | Test Set ( | ||||||
|---|---|---|---|---|---|---|---|---|
| Overall | G | P | S | Overall | G | P | S | |
|
| ||||||||
|
| 0.74 | 0.89 | 0.72 | 0.87 | 0.70 | 0.75 | 0.62 | 0.85 |
|
| 0.80 | 0.82 | 0.77 | 0.87 | 0.70 | 0.69 | 0.58 | 0.85 |
|
| 0.74 | 0.79 | 0.72 | 0.87 | 0.70 | 0.74 | 0.60 | 0.85 |
|
| 0.76 | 0.80 | 0.73 | 0.87 | 0.65 | 0.69 | 0.51 | 0.85 |
|
| 0.75 | 0.73 | 0.65 | 0.81 | 0.67 | 0.78 | 0.63 | 0.70 |
|
| 0.64 | 0.66 | 0.54 | 0.82 | 0.70 | 0.67 | 0.54 | 0.77 |
|
| 0.74 | 0.79 | 0.71 | 0.87 | 0.68 | 0.69 | 0.58 | 0.80 |
|
| ||||||||
|
| 0.90 | 0.95 | 0.93 | 0.83 | 0.86 | 0.91 | 0.88 | 0.82 |
|
| 0.98 | 0.98 | 0.99 | 0.97 | 0.90 | 0.96 | 0.90 | 0.86 |
|
| 0.91 | 0.96 | 0.93 | 0.86 | 0.87 | 0.93 | 0.88 | 0.86 |
|
| 0.92 | 0.97 | 0.93 | 0.87 | 0.87 | 0.93 | 0.88 | 0.86 |
|
| 0.82 | 0.86 | 0.80 | 0.89 | 0.78 | 0.79 | 0.75 | 0.89 |
|
| 0.88 | 0.94 | 0.89 | 0.84 | 0.84 | 0.90 | 0.88 | 0.81 |
|
| 0.91 | 0.95 | 0.95 | 0.84 | 0.88 | 0.92 | 0.95 | 0.86 |
G, Graves’ disease; P, painless thyroiditis; S, subacute thyroiditis; CART, classification and regression tree analysis; RF, random forest analysis; LDA, linear discriminant analysis; SVM, support vector machine; kNN, k-nearest neighbor; NB, naive Bayesian; NN, neural network.
Figure 3Decision tree models for Model 1 and Model 2. Node numbering for the decision trees presented inside the box. Classification according to the decision tree is described at the end of the tree, and the bar graph indicates the final diagnosis according to the clinical course. G, Graves’ disease; P, painless thyroiditis; S, subacute thyroiditis; T3, triiodothyronine; CRP, C-reactive protein; TBII, thyrotropin binding inhibitory immunoglobulin; TgAb, anti-thyroglobulin antibody.
Figure 4Variable importance plot for the random forest algorithm calculated using the impurity method for Model 1 and Model 2.
Clinical validation comparing the standard diagnostic approach and machine learning algorithms.
| Diagnosed as Graves’ Disease | Graves’ Disease | Painless Thyroiditis | Subacute Thyroiditis | Accuracy for Graves’ Disease |
|---|---|---|---|---|
| T3 † | 101 | 18 | 17 | 0.75 |
| TBII | 116 | 0 | 6 | 0.94 |
| Thyroid scan * | 48/73 | 1/48 | 2/32 | 0.82 |
| Initial ATD Prescription | 79 | 11 | 3 | 0.74 |
| RF Model 2 | 122 | 0 | 1 | 0.96 |
TBII, Thyrotropin binding inhibitor immunoglobulin; ATD, anti-thyroid drug; RF, random forest. † The cut-off level was 2.01 ng/mL, and it was defined by classification and decision tree models. * Available only in 153 patients.