Machine learning models for predicting tibial intramedullary nail length

Abstract Background Tibial intramedullary nailing (IMN) represents a standard treatment for fractures of the tibial shaft. Nevertheless, accurately predicting the appropriate nail length prior to surgery remains a challenging endeavour. Conventional techniques frequently depend on data obtained intr...

Full description

Saved in:
Bibliographic Details
Main Authors: Sercan Capkin, Ali Ihsan Kilic, Hakan Cici, Mehmet Akdemir, Mert Kahraman Marasli
Format: Article
Language:English
Published: BMC 2025-04-01
Series:BMC Musculoskeletal Disorders
Subjects:
Online Access:https://doi.org/10.1186/s12891-025-08657-1
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850172539795406848
author Sercan Capkin
Ali Ihsan Kilic
Hakan Cici
Mehmet Akdemir
Mert Kahraman Marasli
author_facet Sercan Capkin
Ali Ihsan Kilic
Hakan Cici
Mehmet Akdemir
Mert Kahraman Marasli
author_sort Sercan Capkin
collection DOAJ
description Abstract Background Tibial intramedullary nailing (IMN) represents a standard treatment for fractures of the tibial shaft. Nevertheless, accurately predicting the appropriate nail length prior to surgery remains a challenging endeavour. Conventional techniques frequently depend on data obtained intraoperatively, which may prolong surgical time and elevate radiation exposure. This study employs anthropometric measurements to evaluate and contrast the efficacy of machine learning (ML) models in predicting tibial IMN length. Methods A retrospective analysis was conducted on 163 patients who had undergone tibial IMN. Anthropometric data were collected, including the subject’s height, shoe size, olecranon-to-5th metacarpal distance (OM), and tibial tuberosity-to-medial malleolus distance (TTMM). Four ML models, namely linear regression, random forest, decision tree, and XGBoost, were employed for the purpose of predicting tibial IMN length. The performance of the models was evaluated using the mean squared error (MSE) and the R-squared values. Results The linear regression model demonstrated superior performance compared to the random forest, decision tree, and XGBoost models, with an R-squared value of 0.89, an MSE of 117.53, and a root mean squared error (RMSE) of 10.84 mm. The strongest correlation with IMN length was demonstrated by TTMM (r = 0.911), followed by height (r = 0.899) and OM (r = 0.811). Furthermore, TTMM provided the greatest contribution to prediction accuracy, thereby supporting its use as a reliable predictor in clinical settings. The correlation between shoe size and the dependent variable was weaker (r = 0.823), and the inclusion of shoe size in the model negatively impacted the prediction accuracy. Despite their ability to handle non-linear relationships, the random forest and XGBoost models yielded higher MSE values, indicating limited improvement over linear regression. These findings underscore the linear nature of the relationship between anthropometric variables and IMN length, with linear regression offering the most reliable predictions. Conclusion Combining anthropometric measurements with ML models, particularly linear regression, effectively predicts IMN length. This approach can streamline preoperative planning by reducing intraoperative measurements and minimizing surgery time and radiation exposure. Further validation with larger datasets is necessary to confirm these findings across diverse populations.
format Article
id doaj-art-307c6b28e45b412d96541a6b35b722bc
institution OA Journals
issn 1471-2474
language English
publishDate 2025-04-01
publisher BMC
record_format Article
series BMC Musculoskeletal Disorders
spelling doaj-art-307c6b28e45b412d96541a6b35b722bc2025-08-20T02:20:03ZengBMCBMC Musculoskeletal Disorders1471-24742025-04-0126111010.1186/s12891-025-08657-1Machine learning models for predicting tibial intramedullary nail lengthSercan Capkin0Ali Ihsan Kilic1Hakan Cici2Mehmet Akdemir3Mert Kahraman Marasli4Faculty of Medicine, Department of Orthopaedics and Traumatology, Izmir Bakircay UniversityFaculty of Medicine, Department of Orthopaedics and Traumatology, Izmir Bakircay UniversityFaculty of Medicine, Department of Orthopaedics and Traumatology, Izmir Democracy UniversityDepartment of Orthopaedics and Traumatology, Izmir Ekol HospitalDepartment of Orthopaedics and Traumatology, Gebze Fatih State HospitalAbstract Background Tibial intramedullary nailing (IMN) represents a standard treatment for fractures of the tibial shaft. Nevertheless, accurately predicting the appropriate nail length prior to surgery remains a challenging endeavour. Conventional techniques frequently depend on data obtained intraoperatively, which may prolong surgical time and elevate radiation exposure. This study employs anthropometric measurements to evaluate and contrast the efficacy of machine learning (ML) models in predicting tibial IMN length. Methods A retrospective analysis was conducted on 163 patients who had undergone tibial IMN. Anthropometric data were collected, including the subject’s height, shoe size, olecranon-to-5th metacarpal distance (OM), and tibial tuberosity-to-medial malleolus distance (TTMM). Four ML models, namely linear regression, random forest, decision tree, and XGBoost, were employed for the purpose of predicting tibial IMN length. The performance of the models was evaluated using the mean squared error (MSE) and the R-squared values. Results The linear regression model demonstrated superior performance compared to the random forest, decision tree, and XGBoost models, with an R-squared value of 0.89, an MSE of 117.53, and a root mean squared error (RMSE) of 10.84 mm. The strongest correlation with IMN length was demonstrated by TTMM (r = 0.911), followed by height (r = 0.899) and OM (r = 0.811). Furthermore, TTMM provided the greatest contribution to prediction accuracy, thereby supporting its use as a reliable predictor in clinical settings. The correlation between shoe size and the dependent variable was weaker (r = 0.823), and the inclusion of shoe size in the model negatively impacted the prediction accuracy. Despite their ability to handle non-linear relationships, the random forest and XGBoost models yielded higher MSE values, indicating limited improvement over linear regression. These findings underscore the linear nature of the relationship between anthropometric variables and IMN length, with linear regression offering the most reliable predictions. Conclusion Combining anthropometric measurements with ML models, particularly linear regression, effectively predicts IMN length. This approach can streamline preoperative planning by reducing intraoperative measurements and minimizing surgery time and radiation exposure. Further validation with larger datasets is necessary to confirm these findings across diverse populations.https://doi.org/10.1186/s12891-025-08657-1Tibial intramedullary nailMachine learningAnthropometric measurementsPreoperative planningLinear regression
spellingShingle Sercan Capkin
Ali Ihsan Kilic
Hakan Cici
Mehmet Akdemir
Mert Kahraman Marasli
Machine learning models for predicting tibial intramedullary nail length
BMC Musculoskeletal Disorders
Tibial intramedullary nail
Machine learning
Anthropometric measurements
Preoperative planning
Linear regression
title Machine learning models for predicting tibial intramedullary nail length
title_full Machine learning models for predicting tibial intramedullary nail length
title_fullStr Machine learning models for predicting tibial intramedullary nail length
title_full_unstemmed Machine learning models for predicting tibial intramedullary nail length
title_short Machine learning models for predicting tibial intramedullary nail length
title_sort machine learning models for predicting tibial intramedullary nail length
topic Tibial intramedullary nail
Machine learning
Anthropometric measurements
Preoperative planning
Linear regression
url https://doi.org/10.1186/s12891-025-08657-1
work_keys_str_mv AT sercancapkin machinelearningmodelsforpredictingtibialintramedullarynaillength
AT aliihsankilic machinelearningmodelsforpredictingtibialintramedullarynaillength
AT hakancici machinelearningmodelsforpredictingtibialintramedullarynaillength
AT mehmetakdemir machinelearningmodelsforpredictingtibialintramedullarynaillength
AT mertkahramanmarasli machinelearningmodelsforpredictingtibialintramedullarynaillength