Back To Projects

Comparison of Machine Learning Models to Best Predict Game Attendance in Major League Baseball

Seohyun P.

To forecast Major League Baseball game attendance, this study employs six different regression models commonly used for machine learning.


To forecast Major League Baseball game attendance, this study employs six different regression models commonly used for machine learning. The models include Multiple Linear Regression, Decision Tree, Random Forest, Support Vector Regression, Multi-Layer Perceptron Regression, and Gradient Boosting. For the dataset, the 2022 and 2023 games of the Los Angeles Dodgers are used to reflect the recent trend of fan attendance and focus on a single random team so that different tendencies of each team’s fans do not become a confounding variable. Each regression model’s performance is evaluated by Mean Absolute Percentage Error and Root Mean Square Error. The performance evaluation suggests that Random Forest and Gradient Boosting predict attendance with the highest accuracy. Using these prediction models, each baseball team may facilitate staff management, event organization, and marketing before their games.

Explore More!

Seohyun P.
Kasra Koushan
MSE in CS from Penn

Related Projects

Revolutionizing Football: Using Machine Learning to Predict Future Performances for Quarterbacks

It is important to have a reliable application that can aid users of betting and fantasy football in which players they should put bet on, or choose for their fantasy teams. My motivation behind this project was to create something that could further betting and fantasy football, and even increase traction.
Anya N.
Mentored by Eric Bradford
workspace_premium
Optimizing Prediction Accuracy Using Advanced Ensemble And Voting Classifier Methods

This project observes how various machine learning models, once tuned, can further be combined to create a complex model that uses NFL data from the past 18 years to predict the outcomes of matchups between any two competing teams.
Ashray P.
Mentored by Christopher Mauck
Allez Go: AI Fencing Referee

Technology in fencing is generally an underdeveloped field and automated referees present potentially significant benefits to the sport. Automated referees will offer a more consistent call compared to a group of human referees with slightly different interpretations of the fencing rules.
Jason M.
Mentored by Anna Orosz