Artificial intelligence has become crucial in sports, leveraging its analytical capabilities to enhance the understanding and prediction of complex events. Machine learning algorithms in sports, especially basketball, are transforming performance analysis by identifying patterns and trends invisible to traditional methods. This technology provides in-depth insights into individual and team performance, enabling precise evaluation of strategies and tactics. Consequently, the detailed analysis of every aspect of a team’s routine can significantly elevate the level of competition in the sport. This study investigates a range of machine learning models, including Logistic Regression (LR), Ridge Regression Classifier (RR), Random Forest (RF), Naive Bayes (NB), K-Nearest Neighbors (KNNs), Support Vector Machine (SVM), Stacking Classifier (STACK), Bagging Classifier (BAG), Multi-Layer Perceptron (MLP), AdaBoost (AB), and XGBoost (XGB), as well as deep learning architectures such as Long Short-Term Memory (LSTM) networks and Convolutional Neural Networks (CNNs), to compare their effectiveness in predicting game outcomes in the NBA and WNBA leagues. The results show highly acceptable prediction accuracies of 65.50% for the NBA and 67.48% for the WNBA. This study allows us to understand the impact that artificial intelligence can have on the world of basketball and its current state in relation to previous studies. It can provide valuable insights for coaches, performance analysts, team managers, and sports strategists by using machine learning and deep learning models to predict NBA and WNBA outcomes, enabling informed decisions and enhancing competitive performance.
Alves et al. (2025) studied this question.