Use of an Artificial Neural Network to Predict Length of Stay in Acute Pancreatitis

Document Type


Publication Date



Length of stay (LOS) predictions in acute pancreatitis could be used to stratify patients with severe acute pancreatitis, make treatment and resource allocation decisions, and for quality assurance. Artificial neural networks have been used to predict LOS in other conditions but not acute pancreatitis. The hypothesis of this study was that a neural network could predict LOS in patients with acute pancreatitis. The medical records of 195 patients admitted with acute pancreatitis were reviewed. A backpropagation neural network was developed to predict LOS >7 days. The network was trained on 156 randomly selected cases and tested on the remaining 39 cases. The neural network had the highest sensitivity (75%) for predicting LOS >7 days. Ranson criteria had the highest specificity (94%) for making this prediction. All methods incorrectly predicted LOS in two patients with severe acute pancreatitis who died early in their hospital course. An artificial neural network can predict LOS >7 days. The network and traditional prognostic indices were least accurate for predicting LOS in patients with severe acute pancreatitis who died early in their hospital course. The neural network has the advantage of making this prediction using admission data.


This article was written before Steven Walczak was affiliated with the University of South Florida.

Was this content written or created while at USF?


Citation / Publisher Attribution

American Surgeon, v. 64, issue 9, p. 868-872

This document is currently not available here.