Skip to main content
Top
Published in: International Journal of Colorectal Disease 1/2024

Open Access 01-12-2024 | Diverticulitis | RESEARCH

Development of an image-based Random Forest classifier for prediction of surgery duration of laparoscopic sigmoid resections

Authors: Florian Lippenberger, Sebastian Ziegelmayer, Maximilian Berlet, Hubertus Feussner, Marcus Makowski, Philipp-Alexander Neumann, Markus Graf, Georgios Kaissis, Dirk Wilhelm, Rickmer Braren, Stefan Reischl

Published in: International Journal of Colorectal Disease | Issue 1/2024

Login to get access

Abstract

Purpose

Sigmoid diverticulitis is a disease with a high socioeconomic burden, accounting for a high number of left-sided colonic resections worldwide. Modern surgical scheduling relies on accurate prediction of operation times to enhance patient care and optimize healthcare resources. This study aims to develop a predictive model for surgery duration in laparoscopic sigmoid resections, based on preoperative CT biometric and demographic patient data.

Methods

This retrospective single-center cohort study included 85 patients who underwent laparoscopic sigmoid resection for diverticular disease. Potentially relevant procedure-specific anatomical parameters recommended by a surgical expert were measured in preoperative CT imaging. After random split into training and test set (75% / 25%) multiclass logistic regression was performed and a Random Forest classifier was trained on CT imaging parameters, patient age, and sex in the training cohort to predict categorized surgery duration. The models were evaluated in the test cohort using established performance metrics including receiver operating characteristics area under the curve (AUROC).

Results

The Random Forest model achieved a good average AUROC of 0.78. It allowed a very good prediction of long (AUROC = 0.89; specificity 0.71; sensitivity 1.0) and short (AUROC = 0.81; specificity 0.77; sensitivity 0.56) procedures. It clearly outperformed the multiclass logistic regression model (AUROC: average = 0.33; short = 0.31; long = 0.22).

Conclusion

A Random Forest classifier trained on demographic and CT imaging biometric patient data could predict procedure duration outliers of laparoscopic sigmoid resections. Pending validation in a multicenter study, this approach could potentially improve procedure scheduling in visceral surgery and be scaled to other procedures.
Appendix
Available only for authorised users
Literature
1.
go back to reference Peery AF, Dellon ES, Lund J, Crockett SD, McGowan CE, Bulsiewicz WJ, Gangarosa LM, Thiny MT, Stizenberg K, Morgan DR, Ringel Y, Kim HP, DiBonaventura MD, Carroll CF, Allen JK, Cook SF, Sandler RS, Kappelman MD, Shaheen NJ (2012) Burden of gastrointestinal disease in the United States: 2012 update. Gastroenterology 143(5):1179–1187.e3 Peery AF, Dellon ES, Lund J, Crockett SD, McGowan CE, Bulsiewicz WJ, Gangarosa LM, Thiny MT, Stizenberg K, Morgan DR, Ringel Y, Kim HP, DiBonaventura MD, Carroll CF, Allen JK, Cook SF, Sandler RS, Kappelman MD, Shaheen NJ (2012) Burden of gastrointestinal disease in the United States: 2012 update. Gastroenterology 143(5):1179–1187.e3
2.
go back to reference Diers J, Wagner J, Baum P, Lichthardt S, Kastner C, Matthes N, Löb S, Matthes H, Germer C-T, Wiegering A (2019) Nationwide in-hospital mortality following colonic cancer resection according to hospital volume in Germany. BJS Open 3(5):672–677CrossRefPubMedPubMedCentral Diers J, Wagner J, Baum P, Lichthardt S, Kastner C, Matthes N, Löb S, Matthes H, Germer C-T, Wiegering A (2019) Nationwide in-hospital mortality following colonic cancer resection according to hospital volume in Germany. BJS Open 3(5):672–677CrossRefPubMedPubMedCentral
3.
go back to reference Sartelli M, Weber DG, Kluger Y, Ansaloni L, Coccolini F, Abu-Zidan F, Augustin G, Ben-Ishay O, Biffl WL, Bouliaris K, Catena R, Ceresoli M, Chiara O, Chiarugi M, Coimbra R, Cortese F, Cui Y, Damaskos D, Angelis GL, de’ Delibegovic S, Demetrashvili Z, de Simone B, Di Marzo F, Di Saverio S, Duane TM, Faro MP, Fraga GP, Gkiokas G, Gomes CA, Hardcastle TC, Hecker A, Karamarkovic A, Kashuk J, Khokha V, Kirkpatrick AW, Kok KYY, Inaba K, Isik A, Labricciosa FM, Latifi R, Leppäniemi A, Litvin A, Mazuski JE, Maier RV, Marwah S, McFarlane M, Moore EE, Moore FA, Negoi I, Pagani L, Rasa K, Rubio-Perez I, Sakakushev B, Sato N, Sganga G, Siquini W, Tarasconi A, Tolonen M, Ulrych J, Zachariah SK, Catena F (2020) 2020 update of the WSES guidelines for the management of acute colonic diverticulitis in the emergency setting. World J Emerg Surg 15(1):32 Sartelli M, Weber DG, Kluger Y, Ansaloni L, Coccolini F, Abu-Zidan F, Augustin G, Ben-Ishay O, Biffl WL, Bouliaris K, Catena R, Ceresoli M, Chiara O, Chiarugi M, Coimbra R, Cortese F, Cui Y, Damaskos D, Angelis GL, de’ Delibegovic S, Demetrashvili Z, de Simone B, Di Marzo F, Di Saverio S, Duane TM, Faro MP, Fraga GP, Gkiokas G, Gomes CA, Hardcastle TC, Hecker A, Karamarkovic A, Kashuk J, Khokha V, Kirkpatrick AW, Kok KYY, Inaba K, Isik A, Labricciosa FM, Latifi R, Leppäniemi A, Litvin A, Mazuski JE, Maier RV, Marwah S, McFarlane M, Moore EE, Moore FA, Negoi I, Pagani L, Rasa K, Rubio-Perez I, Sakakushev B, Sato N, Sganga G, Siquini W, Tarasconi A, Tolonen M, Ulrych J, Zachariah SK, Catena F (2020) 2020 update of the WSES guidelines for the management of acute colonic diverticulitis in the emergency setting. World J Emerg Surg 15(1):32
4.
go back to reference Pietryga S, Lock JF, Diers J, Baum P, Uttinger KL, Baumann N, Flemming S, Wagner JC, Germer C-T, Wiegering A (2023) Nationwide volume-outcome relationship concerning in-hospital mortality and failure-to-rescue in surgery of sigmoid diverticulitis. Int J Colorectal Dis 38(1):203CrossRefPubMed Pietryga S, Lock JF, Diers J, Baum P, Uttinger KL, Baumann N, Flemming S, Wagner JC, Germer C-T, Wiegering A (2023) Nationwide volume-outcome relationship concerning in-hospital mortality and failure-to-rescue in surgery of sigmoid diverticulitis. Int J Colorectal Dis 38(1):203CrossRefPubMed
5.
go back to reference Guller U, Jain N, Hervey S, Purves H, Pietrobon R (2003) Laparoscopic vs open colectomy: outcomes comparison based on large nationwide databases. Arch Surg (Chicago, Ill.: 1960) 138(11):1179–1186 Guller U, Jain N, Hervey S, Purves H, Pietrobon R (2003) Laparoscopic vs open colectomy: outcomes comparison based on large nationwide databases. Arch Surg (Chicago, Ill.: 1960) 138(11):1179–1186
6.
go back to reference Klarenbeek BR, Veenhof AA, Bergamaschi R, van der Peet DL, van den Broek WT, de Lange ES, Bemelman WA, Heres P, Lacy AM, Engel AF, Cuesta MA (2009) Laparoscopic sigmoid resection for diverticulitis decreases major morbidity rates: a randomized control trial: short-term results of the Sigma Trial. Ann Surg 249(1):39–44CrossRefPubMed Klarenbeek BR, Veenhof AA, Bergamaschi R, van der Peet DL, van den Broek WT, de Lange ES, Bemelman WA, Heres P, Lacy AM, Engel AF, Cuesta MA (2009) Laparoscopic sigmoid resection for diverticulitis decreases major morbidity rates: a randomized control trial: short-term results of the Sigma Trial. Ann Surg 249(1):39–44CrossRefPubMed
7.
go back to reference Klarenbeek BR, Coupé VMH, van der Peet DL, Cuesta MA (2011) The cost effectiveness of elective laparoscopic sigmoid resection for symptomatic diverticular disease: financial outcome of the randomized control Sigma Trial. Surg Endosc 25(3):776–783 Klarenbeek BR, Coupé VMH, van der Peet DL, Cuesta MA (2011) The cost effectiveness of elective laparoscopic sigmoid resection for symptomatic diverticular disease: financial outcome of the randomized control Sigma Trial. Surg Endosc 25(3):776–783
8.
go back to reference Diers J, Baum P, Matthes H, Germer C-T, Wiegering A (2021) Mortality and complication management after surgery for colorectal cancer depending on the DKG minimum amounts for hospital volume. Eur J Surg Oncol 47(4):850–857CrossRefPubMed Diers J, Baum P, Matthes H, Germer C-T, Wiegering A (2021) Mortality and complication management after surgery for colorectal cancer depending on the DKG minimum amounts for hospital volume. Eur J Surg Oncol 47(4):850–857CrossRefPubMed
9.
go back to reference Baum P, Diers J, Lichthardt S, Kastner C, Schlegel N, Germer C-T, Wiegering A (2019) Mortality and complications following visceral surgery: a nationwide analysis based on the diagnostic categories used in German hospital invoicing data. Dtsch Arztebl Int 116(44):739–746PubMedPubMedCentral Baum P, Diers J, Lichthardt S, Kastner C, Schlegel N, Germer C-T, Wiegering A (2019) Mortality and complications following visceral surgery: a nationwide analysis based on the diagnostic categories used in German hospital invoicing data. Dtsch Arztebl Int 116(44):739–746PubMedPubMedCentral
10.
go back to reference Moody AE, Gurnea TP, Shul CP, Althausen PL (2020) True cost of operating room time: implications for an orthopaedic trauma service. J Orthop Trauma 34(5):271–275CrossRefPubMed Moody AE, Gurnea TP, Shul CP, Althausen PL (2020) True cost of operating room time: implications for an orthopaedic trauma service. J Orthop Trauma 34(5):271–275CrossRefPubMed
11.
go back to reference Dalager T, Søgaard K, Boyle E, Jensen PT, Mogensen O (2019) Surgery is physically demanding and associated with multisite musculoskeletal pain: a cross-sectional study. J Surg Res 240:30–39CrossRefPubMed Dalager T, Søgaard K, Boyle E, Jensen PT, Mogensen O (2019) Surgery is physically demanding and associated with multisite musculoskeletal pain: a cross-sectional study. J Surg Res 240:30–39CrossRefPubMed
12.
go back to reference Zenteno AC, Carnes T, Levi R, Daily BJ, Price D, Moss SC, Dunn PF (2015) Pooled open blocks shorten wait times for nonelective surgical cases. Ann Surg 262(1):60–67CrossRefPubMed Zenteno AC, Carnes T, Levi R, Daily BJ, Price D, Moss SC, Dunn PF (2015) Pooled open blocks shorten wait times for nonelective surgical cases. Ann Surg 262(1):60–67CrossRefPubMed
13.
go back to reference Master N, Zhou Z, Miller D, Scheinker D, Bambos N, Glynn P (2017) Improving predictions of pediatric surgical durations with supervised learning. Int J Data Sci Anal 4(1):35–52 Master N, Zhou Z, Miller D, Scheinker D, Bambos N, Glynn P (2017) Improving predictions of pediatric surgical durations with supervised learning. Int J Data Sci Anal 4(1):35–52
14.
go back to reference Fairley M, Scheinker D, Brandeau ML (2019) Improving the efficiency of the operating room environment with an optimization and machine learning model. Health Care Manag Sci 22(4):756–767CrossRefPubMed Fairley M, Scheinker D, Brandeau ML (2019) Improving the efficiency of the operating room environment with an optimization and machine learning model. Health Care Manag Sci 22(4):756–767CrossRefPubMed
15.
go back to reference Yuniartha DR, Masruroh NA, Herliansyah MK (2021) An evaluation of a simple model for predicting surgery duration using a set of surgical procedure parameters. Inform Med Unlocked 25:100633 Yuniartha DR, Masruroh NA, Herliansyah MK (2021) An evaluation of a simple model for predicting surgery duration using a set of surgical procedure parameters. Inform Med Unlocked 25:100633
16.
go back to reference Martinez O, Martinez C, Parra CA, Rugeles S, Suarez DR (2021) Machine learning for surgical time prediction. Comput Methods Programs Biomed 208:106220CrossRefPubMed Martinez O, Martinez C, Parra CA, Rugeles S, Suarez DR (2021) Machine learning for surgical time prediction. Comput Methods Programs Biomed 208:106220CrossRefPubMed
17.
go back to reference Lazic I, Hinterwimmer F, Langer S, Pohlig F, Suren C, Seidl F, Rückert D, Burgkart R, von Eisenhart-Rothe R (2022) Prediction of complications and surgery duration in primary total hip arthroplasty using machine learning: the necessity of modified algorithms and specific data. J Clin Med 11(8) Lazic I, Hinterwimmer F, Langer S, Pohlig F, Suren C, Seidl F, Rückert D, Burgkart R, von Eisenhart-Rothe R (2022) Prediction of complications and surgery duration in primary total hip arthroplasty using machine learning: the necessity of modified algorithms and specific data. J Clin Med 11(8)
18.
go back to reference Hinterwimmer F, Lazic I, Langer S, Suren C, Charitou F, Hirschmann MT, Matziolis G, Seidl F, Pohlig F, Rueckert D, Burgkart R, von Eisenhart-Rothe R (2022) Prediction of complications and surgery duration in primary TKA with high accuracy using machine learning with arthroplasty-specific data. Knee Surg Sports Traumatol Arthrosc Hinterwimmer F, Lazic I, Langer S, Suren C, Charitou F, Hirschmann MT, Matziolis G, Seidl F, Pohlig F, Rueckert D, Burgkart R, von Eisenhart-Rothe R (2022) Prediction of complications and surgery duration in primary TKA with high accuracy using machine learning with arthroplasty-specific data. Knee Surg Sports Traumatol Arthrosc
19.
go back to reference Zhao B, Waterman RS, Urman RD, Gabriel RA (2019) A machine learning approach to predicting case duration for robot-assisted surgery. J Med Syst 43(2):32CrossRefPubMed Zhao B, Waterman RS, Urman RD, Gabriel RA (2019) A machine learning approach to predicting case duration for robot-assisted surgery. J Med Syst 43(2):32CrossRefPubMed
20.
go back to reference Miller LE, Goedicke W, Crowson MG, Rathi VK, Naunheim MR, Agarwala AV (2022) Using machine learning to predict operating room case duration: a case study in otolaryngology. Otolaryngol Head Neck Surg 1945998221076480 Miller LE, Goedicke W, Crowson MG, Rathi VK, Naunheim MR, Agarwala AV (2022) Using machine learning to predict operating room case duration: a case study in otolaryngology. Otolaryngol Head Neck Surg 1945998221076480
22.
go back to reference Gelbard RB, Hensman H, Schobel S, Khatri V, Tracy BM, Dente CJ, Buchman T, Kirk A, Elster E (2019) Random forest modeling can predict infectious complications following trauma laparotomy. J Trauma Acute Care Surg 87(5):1125–1132 Gelbard RB, Hensman H, Schobel S, Khatri V, Tracy BM, Dente CJ, Buchman T, Kirk A, Elster E (2019) Random forest modeling can predict infectious complications following trauma laparotomy. J Trauma Acute Care Surg 87(5):1125–1132
23.
go back to reference Lapp L, Bouamrane M-M, Kavanagh K, Roper M, Young D, Schraag S (2019) Evaluation of random forest and ensemble methods at predicting complications following cardiac surgery. In: Riaño D, Wilk S, Ten Teije A (eds) Artificial intelligence in medicine. Springer International Publishing, Cham, pp 376–385 Lapp L, Bouamrane M-M, Kavanagh K, Roper M, Young D, Schraag S (2019) Evaluation of random forest and ensemble methods at predicting complications following cardiac surgery. In: Riaño D, Wilk S, Ten Teije A (eds) Artificial intelligence in medicine. Springer International Publishing, Cham, pp 376–385
24.
go back to reference Castiglioni I, Rundo L, Codari M, Di Leo G, Salvatore C, Interlenghi M, Gallivanone F, Cozzi A, D’Amico NC, Sardanelli F (2021) AI applications to medical images: from machine learning to deep learning. Phys Med 83:9–24 Castiglioni I, Rundo L, Codari M, Di Leo G, Salvatore C, Interlenghi M, Gallivanone F, Cozzi A, D’Amico NC, Sardanelli F (2021) AI applications to medical images: from machine learning to deep learning. Phys Med 83:9–24
25.
go back to reference Targarona EM, Balague C, Pernas JC, Martinez C, Berindoague R, Gich I, Trias M (2008) Can we predict immediate outcome after laparoscopic rectal surgery? Multivariate analysis of clinical, anatomic, and pathologic features after 3-dimensional reconstruction of the pelvic anatomy. Ann Surg 247(4):642–649CrossRefPubMed Targarona EM, Balague C, Pernas JC, Martinez C, Berindoague R, Gich I, Trias M (2008) Can we predict immediate outcome after laparoscopic rectal surgery? Multivariate analysis of clinical, anatomic, and pathologic features after 3-dimensional reconstruction of the pelvic anatomy. Ann Surg 247(4):642–649CrossRefPubMed
26.
go back to reference Sahadev D, Lovegrove T, Kunz H (2022) A machine learning solution to predict elective orthopedic surgery case duration. Stud Health Technol Inform 295:559–561PubMed Sahadev D, Lovegrove T, Kunz H (2022) A machine learning solution to predict elective orthopedic surgery case duration. Stud Health Technol Inform 295:559–561PubMed
27.
go back to reference Gabriel RA, Harjai B, Simpson S, Du AL, Tully JL, George O, Waterman R (2023) An ensemble learning approach to improving prediction of case duration for spine surgery: algorithm development and validation. JMIR Perioper Med 6:e39650CrossRefPubMedPubMedCentral Gabriel RA, Harjai B, Simpson S, Du AL, Tully JL, George O, Waterman R (2023) An ensemble learning approach to improving prediction of case duration for spine surgery: algorithm development and validation. JMIR Perioper Med 6:e39650CrossRefPubMedPubMedCentral
28.
go back to reference Wynants L, van Smeden M, McLernon DJ, Timmerman D, Steyerberg EW, van Calster B (2019) Three myths about risk thresholds for prediction models. BMC Med 17(1):192CrossRefPubMedPubMedCentral Wynants L, van Smeden M, McLernon DJ, Timmerman D, Steyerberg EW, van Calster B (2019) Three myths about risk thresholds for prediction models. BMC Med 17(1):192CrossRefPubMedPubMedCentral
Metadata
Title
Development of an image-based Random Forest classifier for prediction of surgery duration of laparoscopic sigmoid resections
Authors
Florian Lippenberger
Sebastian Ziegelmayer
Maximilian Berlet
Hubertus Feussner
Marcus Makowski
Philipp-Alexander Neumann
Markus Graf
Georgios Kaissis
Dirk Wilhelm
Rickmer Braren
Stefan Reischl
Publication date
01-12-2024
Publisher
Springer Berlin Heidelberg
Keyword
Diverticulitis
Published in
International Journal of Colorectal Disease / Issue 1/2024
Print ISSN: 0179-1958
Electronic ISSN: 1432-1262
DOI
https://doi.org/10.1007/s00384-024-04593-z

Other articles of this Issue 1/2024

International Journal of Colorectal Disease 1/2024 Go to the issue