Developing nonlinear k-nearest neighbors classification algorithms to identify patients at high risk of increased length of hospital stay following spine surgery.

dc.contributor.author

Shahrestani, Shane

dc.contributor.author

Chan, Andrew K

dc.contributor.author

Bisson, Erica F

dc.contributor.author

Bydon, Mohamad

dc.contributor.author

Glassman, Steven D

dc.contributor.author

Foley, Kevin T

dc.contributor.author

Shaffrey, Christopher I

dc.contributor.author

Potts, Eric A

dc.contributor.author

Shaffrey, Mark E

dc.contributor.author

Coric, Domagoj

dc.contributor.author

Knightly, John J

dc.contributor.author

Park, Paul

dc.contributor.author

Wang, Michael Y

dc.contributor.author

Fu, Kai-Ming

dc.contributor.author

Slotkin, Jonathan R

dc.contributor.author

Asher, Anthony L

dc.contributor.author

Virk, Michael S

dc.contributor.author

Michalopoulos, Giorgos D

dc.contributor.author

Guan, Jian

dc.contributor.author

Haid, Regis W

dc.contributor.author

Agarwal, Nitin

dc.contributor.author

Chou, Dean

dc.contributor.author

Mummaneni, Praveen V

dc.date.accessioned

2023-06-13T16:45:21Z

dc.date.available

2023-06-13T16:45:21Z

dc.date.issued

2023-06

dc.date.updated

2023-06-13T16:45:17Z

dc.description.abstract

Objective

Spondylolisthesis is a common operative disease in the United States, but robust predictive models for patient outcomes remain limited. The development of models that accurately predict postoperative outcomes would be useful to help identify patients at risk of complicated postoperative courses and determine appropriate healthcare and resource utilization for patients. As such, the purpose of this study was to develop k-nearest neighbors (KNN) classification algorithms to identify patients at increased risk for extended hospital length of stay (LOS) following neurosurgical intervention for spondylolisthesis.

Methods

The Quality Outcomes Database (QOD) spondylolisthesis data set was queried for patients receiving either decompression alone or decompression plus fusion for degenerative spondylolisthesis. Preoperative and perioperative variables were queried, and Mann-Whitney U-tests were performed to identify which variables would be included in the machine learning models. Two KNN models were implemented (k = 25) with a standard training set of 60%, validation set of 20%, and testing set of 20%, one with arthrodesis status (model 1) and the other without (model 2). Feature scaling was implemented during the preprocessing stage to standardize the independent features.

Results

Of 608 enrolled patients, 544 met prespecified inclusion criteria. The mean age of all patients was 61.9 ± 12.1 years (± SD), and 309 (56.8%) patients were female. The model 1 KNN had an overall accuracy of 98.1%, sensitivity of 100%, specificity of 84.6%, positive predictive value (PPV) of 97.9%, and negative predictive value (NPV) of 100%. Additionally, a receiver operating characteristic (ROC) curve was plotted for model 1, showing an overall area under the curve (AUC) of 0.998. Model 2 had an overall accuracy of 99.1%, sensitivity of 100%, specificity of 92.3%, PPV of 99.0%, and NPV of 100%, with the same ROC AUC of 0.998.

Conclusions

Overall, these findings demonstrate that nonlinear KNN machine learning models have incredibly high predictive value for LOS. Important predictor variables include diabetes, osteoporosis, socioeconomic quartile, duration of surgery, estimated blood loss during surgery, patient educational status, American Society of Anesthesiologists grade, BMI, insurance status, smoking status, sex, and age. These models may be considered for external validation by spine surgeons to aid in patient selection and management, resource utilization, and preoperative surgical planning.
dc.identifier.issn

1092-0684

dc.identifier.issn

1092-0684

dc.identifier.uri

https://hdl.handle.net/10161/27926

dc.language

eng

dc.publisher

Journal of Neurosurgery Publishing Group (JNSPG)

dc.relation.ispartof

Neurosurgical focus

dc.relation.isversionof

10.3171/2023.3.focus22651

dc.subject

Spine

dc.subject

Humans

dc.subject

Spondylolisthesis

dc.subject

Length of Stay

dc.subject

Algorithms

dc.subject

Aged

dc.subject

Middle Aged

dc.subject

Female

dc.subject

Male

dc.subject

Machine Learning

dc.title

Developing nonlinear k-nearest neighbors classification algorithms to identify patients at high risk of increased length of hospital stay following spine surgery.

dc.type

Journal article

duke.contributor.orcid

Shaffrey, Christopher I|0000-0001-9760-8386

pubs.begin-page

E7

pubs.issue

6

pubs.organisational-group

Duke

pubs.organisational-group

School of Medicine

pubs.organisational-group

Clinical Science Departments

pubs.organisational-group

Orthopaedic Surgery

pubs.organisational-group

Neurosurgery

pubs.publication-status

Published

pubs.volume

54

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Developing nonlinear k-nearest neighbors classification algorithms to identify patients at high risk of increased length of hospital stay following spine surgery.pdf
Size:
2.63 MB
Format:
Adobe Portable Document Format