Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020 Dec;9(2):627-635.
doi: 10.1007/s40122-020-00196-y. Epub 2020 Sep 11.

Predicting Postherpetic Neuralgia in Patients with Herpes Zoster by Machine Learning: A Retrospective Study

Affiliations

Predicting Postherpetic Neuralgia in Patients with Herpes Zoster by Machine Learning: A Retrospective Study

Xin-Xing Wang et al. Pain Ther. 2020 Dec.

Abstract

Introduction: Postherpetic neuralgia (PHN) is a neuropathic pain secondary to shingles. Studies have shown that early pain intervention can reduce the incidence or intensity of PHN. The aim of this study was to predict whether a patient with acute herpetic neuralgia will develop PHN and to help clinicians make better decisions.

Method: Five hundred two patients with shingles were reviewed and classified according to whether they had PHN. The risk factors associated with PHN were determined by univariate analysis. Logistic regression and random forest algorithms were used to do machine learning, and then the prediction accuracies of the two algorithms were compared, choosing the superior one to predict the next 60 new cases.

Results: Age, NRS score, rash site, Charlson comorbidity index (CCI) score, antiviral therapy and immunosuppression were found related to the occurrence of PHN. The NRS score was the most closely related factor with an importance of 0.31. As for accuracy, the random forest was 96.24%, better than that of logistic regression in which the accuracy was 92.83%. Then, the random forest model was used to predict 60 newly diagnosed patients with herpes zoster, and the accuracy rate was 88.33% with a 95% confidence interval (CI) of 77.43-95.18%.

Conclusions: This study provides an idea and a method in which, by analyzing the data of previous cases, we can develop a predictive model to predict whether patients with shingles will develop PHN.

Keywords: Herpes zoster; Logistic regression machine learning; Postherpetic neuralgia; Probability; Random forest.

PubMed Disclaimer

Figures

Fig. 1
Fig. 1
Importance of each factor

References

    1. Kost RG, Straus SE. Postherpetic neuralgia–pathogenesis, treatment, and prevention. N Engl J Med. 1996;335:32–42. doi: 10.1056/NEJM199607043350107. - DOI - PubMed
    1. Tontodonati M, Ursini T, Polilli E, Vadini F, Di Masi F, Volpone D, et al. Post-herpetic neuralgia. Int J Gen Med. 2012;5:861–871. - PMC - PubMed
    1. Gan EY, Tian EAL, Hong LT. Management of herpes zoster and post-herpetic neuralgia. Am J Clin Dermatol. 2013;14:77–85. doi: 10.1007/s40257-013-0011-2. - DOI - PubMed
    1. Kim HJ, Ahn HS, Lee JY, Choi SS, Cheong YS, Kwon K, et al. Effects of applying nerve blocks to prevent postherpetic neuralgia in patients with acute herpes zoster: a systematic review and meta-analysis. Korean J Pain. 2017;30:3–17. doi: 10.3344/kjp.2017.30.1.3. - DOI - PMC - PubMed
    1. Wei S, Li X, Wang H, Liu Q, Shao L. Analysis of the risk factors for postherpetic neuralgia. Dermatology. 2019;235:1–8. doi: 10.1159/000500482. - DOI - PubMed