Skip to the content.

Introduction and Background

The movie industry is challenging to navigate, and predicting the success of one’s film can be the difference between making it big or losing millions of dollars. Traditionally, measurements like “star power” and marketing campaigns were used, but they often weren’t reliable. With the rise of digital platforms like YouTube, new data sources have emerged, offering deeper insights into audience engagement and movie success metrics. This project will explore machine learning and its applications to predict movie success using traditional metadata and data found online.

Literature Review

Research has been done to explore different aspects of predicting the success of a movie. Some researchers used sentiment analysis and data mining techniques to predict box office revenue based on the cast, budget, and genre [1]. Other studies have investigated the impact of social media on movie popularity [2]. Recent work shows how transmedial data such as YouTube trailer views can enhance the accuracy of predictions [3]. There is still a gap in research that comprehensively combines traditional metadata and transmedial data for recent films.

Dataset Description and Link

This project uses the “The Movies Dataset” from Kaggle [4], which contains movie metadata including genre, budget, revenue, and release date. We will seek to incorporate features like YouTube trailer view counts and social media sentiment analysis, time permitting. We will concentrate on movies released up until July 2017 due to the recency of the dataset.

Access the dataset here.

Problem Definition

Studios and distributors require accurate predictions to guide decisions on marketing, distribution, and investment. Current methods often lack the precision needed in today’s evolving media landscape. This project will address this issue using machine learning techniques.

Motivation

Accurate movie predictions offer significant benefits. Studios can optimize budgets, distributors can refine release schedules, and investors can assess project viability. Additionally, understanding what drives success offers valuable insights into audience trends and preferences.

Methods

Data Preprocessing Methods

Machine Learning Algorithms

Learning Methods

Since our midterm report, we have expanded our approach by implementing three distinct supervised learning methods: linear regression, random forest, and a neural network. Each model we have implemented offers unique advantages and disadvantages in predicting movie revenue based on features like budget, runtime, genre, and language.

Our linear regression served as a baseline, revealing key linear relationships but struggling with the inherent non-linearity and high variance in movie revenues seen with most of the features. To address this, we developed a random forest model, which better captured these feature interactions through an ensemble of decision trees, improving prediction accuracy for mid-range films while remaining interpretable. Finally, our neural network leveraged deep learning to model complex, hierarchical patterns in the data, using dense layers to better balance performance and generalization.

To provide a comprehensive view, the models do the following: linear regression for interpretable linear trends, random forest for stable non-linear modeling, and the neural network for capturing intricate feature inter-dependencies. The accuracy of these models is quite good, but there is still a lot of room to improve.

Results and Discussion

4.1: Visualizations

4.2: Quantitative Metrics

The linear regression model yielded moderately accurate results in predicting movie success. For instance, on the held-out test set, the model achieved an R² value of ~0.60, meaning it explains about 60% of the variance in movie revenue/ROI​. This indicates that the model is capturing a significant portion of the trend, though roughly 40% of variability remains unexplained. The Mean Squared Error (MSE) was approximately 1016 in squared dollar units for all revenue predictions, while the Mean Absolute Error (MAE) indicated that the average prediction deviated by a hundred million dollars. An R² in the ~0.5–0.6 range is generally considered a moderate goodness-of-fit. The model is certainly better than a naive guess, but may not be precise enough for high-stakes decisions​. The Explained Variance Score was approximately 0.60, closely reflecting the R² value, as there was no significant bias offset in the predictions. These metrics suggest that our linear model has some predictive power, but there is adequate room for improvement. In essence, our model reasonably estimates a movie’s success, but individual predictions can deviate significantly from actual outcomes.

The random forest model presented a solid improvement in its metrics relative to the linear regression model. Namely, the R² increased by 10% from its linear regression value. The average error for a given movie prediction decreased from 100 million to 37 million with this approach. The random forest model thus performs better than the linear regression model, as anticipated.

The neural network did not present as impressive of results as we had anticipated given the balanced, tight nature of the predicted/actual visualization above. With an R² of approximately .51, the neural network fails to account for a large amount of the variance in the revenue. With a mean average error of $51,471,000, the average movie’s revenue is predicted with a moderately large error.

4.3: Model Analysis

4.4: Next Steps

Our results, while moderately successful, demonstrated potential for future improvement. Our recent tests suggest that XGBoost ensembles may outperform some of our current models, as they handle high revenue variance better and more accurately fit outliers. We could also enrich our original feature set with features like YouTube trailer views, likes, and critic ratings. These features may even improve upon our original linear model, leading to a greater R2 value. We would also incorporate temporal features, such as the movie’s release date and the time between the first announcement and the actual premiere. Lastly, we will apply rigorous data preprocessing and feature engineering methods to ensure variables are on comparable scales. In our implementation of these next steps, we aim to further increase the predictive accuracy of our model to the level of highly practical predictions.

References

  1. Quader, N., et al. “A Machine Learning Approach to Predict Movie Box-Office Success.” IEEE Xplore, 1 Dec. 2017, ieeexplore.ieee.org/document/8281839 .

  2. him, Steve, and Mohammad Pourhomayoun. Predicting Movie Market Revenue Using Social Media Data. 1 Aug. 2017, pp. 478–484, ieeexplore.ieee.org/abstract/document/8102973 , https://doi.org/10.1109/iri.2017.68 . Accessed 21 Feb. 2025.
  3. Ahmad, Ibrahim Said, et al. “Movie Revenue Prediction Based on Purchase Intention Mining Using YouTube Trailer Reviews.” Information Processing & Management, vol. 57, no. 5, 1 Sept. 2020, p. 102278, www.sciencedirect.com/science/article/abs/pii/S0306457319309501 , https://doi.org/10.1016/j.ipm.2020.102278
  4. Rounak Banik. The Movies Dataset. Kaggle. https://www.kaggle.com/datasets/rounakbanik/the-movies-dataset

Proposal Contributions

Dylan Bruce Timotheus James Vikrant Talwar Alexander Thorne Tyler Morgan
Created website final report page, created Neural Network Model, calculated NN model statistics & matplotlib visualizations, wrote NN model report sections, updated past report sections, created majority of presentation slides Implemented random forest model and visual layout of the actual vs. predicted results Proofread analysis, provided goals for improvement in future, and wrote Readme.md Extensive proofreading, fact checking, some presentation slides, additional data scraping Dataset exploration, feature engineering, final report and presentation

Gantt Chart

Click to access project Gantt Chart