Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 May 12;20(5):e0320284.
doi: 10.1371/journal.pone.0320284. eCollection 2025.

Inner pace: A dynamic exploration and analysis of basketball game pace

Affiliations

Inner pace: A dynamic exploration and analysis of basketball game pace

Fei Zhang et al. PLoS One. .

Abstract

This study aims to investigate the dynamics of basketball game pace and its influence on game outcomes through a novel intra-game segmentation approach. By employing K-means clustering on possession duration, we categorized possessions from 1,141 NBA games in the 2019-2020 season into high-frequency (HFS), low-frequency (LFS), and normal-frequency segments (NFS). A sliding window method was utilized to identify these segments, revealing distinct temporal patterns within games. To analyze the predictive value of these segments, we applied machine learning models, including Random Forest and Light Gradient Boosting Machine (LightGBM), complemented by SHapley Additive exPlanations (SHAP) for interpretability. Our findings demonstrate that HFS segments increase toward the end of each quarter, driven by rapid transitions and tactical urgency, whereas LFS segments dominate the middle phases, reflecting strategic tempo control. NFS accounts for the majority of game time but decreases as the game progresses. The LightGBM analysis highlighted the importance ranking of key performance indicators (KPIs) across different segments and revealed differences in the importance of these indicators within each segment. Compared to traditional methods, our approach provides a finer-grained analysis of game pace dynamics and offers actionable insights for optimizing coaching strategies. This study not only advances the understanding of basketball game rhythm but also establishes a robust framework for integrating machine learning and statistical models in sports analysis.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Optimal number of clusters determined by the elbow method.
Fig 2
Fig 2. Examples of different frequency segments in games.
(X-axis: Game time, in seconds. Y-axis: Possession duration, in seconds. Dots represent consecutive possession events of games. Red and green backgrounds represent the time periods belonging to HFS and LFS, respectively, while the white background represents NFS.).
Fig 3
Fig 3. Random forest prediction results.
(The X-axis represents 1-16 periods in the game, totaling 48 minutes of a regular match. The Y-axis represents the duration of the segments. The top-left bar chart shows the time proportion changes of the three types of segments across the 16 periods. The top-right, bottom-left, and bottom-right bar charts respectively represent the predicted time changes for HFS, LFS, and NFS.).
Fig 4
Fig 4. Feature importance of HFS, LFS and NFS.
(Fig 4-1, Fig 4-2, and Fig 4-3 represent HFS, NFS, and LFS, respectively. From left to right are HFS, NFS, and LFS. The X-axis shows the magnitude of each feature’s impact on the prediction results. The farther a point is from the centerline (zero), the greater the feature’s impact on the model output. Positive SHAP values indicate a positive impact, while negative SHAP values indicate a negative impact. The Y-axis ranks the features by their influence from top to bottom, with the top features having a greater overall impact on the model output, and the bottom features having a lesser impact. Pink dots represent that the feature value has a positive impact on the model prediction in this observation. Blue dots indicate that the feature value has a negative impact on the model prediction in this observation.).
Fig 5
Fig 5. SHAP heatmap.
(Fig 5-1, Fig 5-2, and Fig 5-3 represent HFS, NFS, and LFS, respectively. The left Y-axis shows the ranking of important features, and the right Y-axis visualizes these features. The color intensity in the image represents the magnitude of the SHAP values: the darker the color, the larger the absolute value of the SHAP, and the greater its impact on the model. The top part visualizes the model’s prediction results under these values. The chart visualizes data from 500 test set samples, as too much data would affect the clarity of the visualization.).

References

    1. Oliver D. Basketball on paper: rules and tools for performance analysis. U of Nebraska Press; 2011.
    1. Araújo D, Couceiro M, Seifert L, Sarmento H, Davids K. Artificial intelligence in sport performance analysis. Routledge; 2021.
    1. Morgulev E, Lebed F. Beyond key performance indicators: Theoretical-methodological discussion of performance analysis (sports analytics) research. German Journal of Exercise and Sport Research. 2024:1–6.
    1. Li L, Zhang W. Evaluation of competitive performance ability of basketball players based on hybrid Model. Mathematical Problems in Engineering. 2022;2022(1):5630295.
    1. Stavropoulos N, Kolias P, Papadopoulou A, Stavropoulou G. Game related predictors discriminating between winning and losing teams in preliminary, second and final round of basketball world cup 2019. International Journal of Performance Analysis in Sport. 2021;21(3):383–95. doi: 10.1080/24748668.2021.1901437 - DOI

LinkOut - more resources