運用機器學習和深度學習預測 NBA 球員再次受傷風險

Using Machine Learning and Deep Learning to Predict Re-Injury Risk in NBA Players

檔案

日期

2026

類型

語言

中文

摘要

背景:國家籃球協會 (National Basketball Association, NBA)球員以下肢傷害最為常見,占所有傷害事件的60%以上。每個賽季約發生1,500至1,900起傷害事件,其中超過三分之一會造成球員缺賽。再受傷在職業籃球中亦相當普遍,不僅影響球員健康,也可能降低球隊整體競技表現。然而,目前整合球員追蹤資料與比賽表現時間序列進行再受傷風險預測的研究仍相對有限。
研究目的:本研究整合NBA球員之人口學、傷病紀錄與受傷前比賽表現資料,建立下一賽季再受傷風險預測模型,比較不同機器學習與深度學習方法之預測效能,並探討球員近期比賽表現與追蹤特徵對模型預測結果的影響。
方法:本研究整合2016至2023賽季之NBA人口學、傷病與比賽表現資料,以每次傷病事件作為一筆研究樣本,並僅納入傷病發生前同一賽季之比賽資料。資料依時間順序切分為訓練集 (2016至2021賽季,n = 2,775)、驗證集 (2022賽季,n = 653)及測試集 (2023賽季,n = 739)。機器學習模型使用受傷前1場、3場及5場比賽資料,並分別建立平均值、最大值、最小值、趨勢斜率及時間序列展平特徵。深度學習模型則使用受傷前5場比賽之時間序列資料。針對類別不平衡問題,機器學習比較未進行不平衡處理與使用Synthetic Minority Over-sampling Technique for Nominal and Contin-uous (SMOTENC)之結果,深度學習則使用class weight。另以變異數篩選、高相關性篩選及L1正則化邏輯斯迴歸進行深度學習序列特徵選擇,將序列特徵由55項縮減為12項。研究建立六種機器學習模型,包括Logistic Regression、Random Forest、K-Nearest Neighbors、Gradient Boosting、Naïve Bayes及eXtreme Gradient Boosting,以及三種深度學習模型,包括Long Short-Term Memory (LSTM)、Transformer及Vision Trans-former。模型以accuracy、precision、recall、specificity、F1-score、AUROC及AUPRC進行評估,並透過SHapley Additive exPlanations (SHAP)分析模型整體與個別球員之預測依據。
Background: Lower-extremity injuries are the most common injuries among National Basketball Association (NBA) players, accounting for more than 60% of all injury events. Approximately 1,500–1,900 injury events occur during each season, with more than one-third resulting in missed games. Reinjury is also common in professional basketball and may adversely affect both player health and team performance. However, studies in-tegrating player-tracking data and time-series game-performance data to predict reinjury risk remain limited.
Objective: This study integrated NBA player demographics, injury records, and pre-injury game-performance data to develop models for predicting reinjury risk in the subsequent season. It compared the predictive performance of machine-learning and deep-learning approaches and investigated how recent game-performance and player-tracking features influenced model predictions.
Methods: NBA demographic, injury, and game-performance data from the 2016–2023 seasons were integrated. Each injury event was treated as an individual sample, and only games occurring before the injury within the same season were included. The data were chronologically divided into a training set (2016–2021 seasons; n = 2,775), validation set (2022 season; n = 653), and test set (2023 season; n = 739). Machine-learning models used data from the 1, 3, and 5 games preceding each injury, represented, where applicable, by average, maximum, minimum, slope, and flattened time-series features. Deep-learning models used time-series data from the five games preceding each injury. To address class imbalance, machine-learning models were evaluated both without imbalance adjustment and with the Synthetic Minority Over-sampling Technique for Nominal and Continuous features (SMOTENC), whereas deep-learning models used a class-weighted loss function. For deep-learning sequence inputs, feature selection was performed using variance thresh-olding, correlation filtering, and L1-regularized logistic regression, reducing the number of sequence features from 55 to 12. Six machine-learning models, logistic regression, random forest, k-nearest neighbors, gradient boosting, Naïve Bayes, and Extreme Gradient Boosting (XGBoost), and three deep-learning models, long short-term memory (LSTM), transformer, and vision transformer were developed. Model performance was evaluated using accuracy, precision, recall, specificity, F1-score, area under the receiver operating characteristic curve (AUROC) and area under the precision–recall curve (AUPRC). SHap-ley Additive exPlanations (SHAP) were used to interpret overall model behavior and indi-vidual player predictions.
Results: On the test set, the best AUROC among the machine-learning models was 0.826, achieved by logistic regression using average features from the five games preceding in-jury. Its AUPRC, F1-score, recall, and specificity were 0.928, 0.886, 0.920, and 0.467, re-spectively. After feature selection, the AUROC values of the three deep-learning models ranged from 0.811 to 0.831. The LSTM model demonstrated the best overall performance, with an AUROC of 0.831, AUPRC of 0.934, F1-score of 0.856, recall of 0.795, specificity of 0.784. Compared with the machine-learning models, the LSTM model achieved higher specificity while maintaining good recall, resulting in more balanced classification per-formance. Individual-level SHAP analyses showed that game-specific movement distance and three-point field goals made were important contributors to player-level reinjury pre-dictions. Higher and lower recent movement distances contributed to the model’s risk pre-dictions in opposite directions across different players.
Conclusion: The LSTM model combining feature selection with time-series data from the five games preceding injury achieved the best overall discrimination and classification balance in this study. Although some machine-learning models achieved higher F1-scores and recall, their relatively low specificity indicated a tendency to classify players as expe-riencing reinjury. The findings suggest that recent movement distance, offensive involve-ment, and changes in game performance provide important information for reinjury pre-diction, while time-series approaches help preserve dynamic variations across games.
顯示完整詮釋資料 統計資料

引用此條目

高兆炫 (2026). 運用機器學習和深度學習預測 NBA 球員再次受傷風險. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/90343

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/90343