Git Product home page Git Product logo

analyzing-movie-features-in-generating-revenue's Introduction

Analyzing the influence of different parameters over the revenue of a movie

by Ananya Singh, Devika Mittal, Manas Gupta and Prashasti Agarwal
Machine Learning (CSE343, ECE343) at Indraprastha Institute of Information Technology, Delhi.

Introduction

The aim of our project was to predict revenue of a movieand study how different parameters like genre, title, description keywords, run-time, etc, affect its success. Through several machine learning techniques, we have tried to verifyour preconceived notions about various factors which mightbe important in determining revenue. We have tried several hyperparameter tuned models to finally reach the one thatbest models our data in predicting revenues.

Description and Implementation Details

We used Kaggle’s The Movies Dataset for our analysis.This is a labelled dataset containing entries of about 45,000 movies listed at IMDB. We have used the following 3 of the 7 files in the dataset for our analysis:

  • moviesmetadata: contains 45,466 entries each containing 24 features namely: adult, belongstocollection, budget, genres, homepage, id, imdbid, originallanguage, originaltitle, overview, popularity, posterpath, productioncompanies, productioncountries,releasedate,revenue,runtime,spokenlanguages, status, tagline, title, video, voteaverage,votecount
  • keywords: contains movie IDs and the keywords used todescribe their plot.
  • credits: contains movie IDs with the cast as well as crew involved in the movie

Running the models

Download the entire repository and extract all the files to a folder.
Open a terminal in this folder and run the below command:
python download.py
This command would download a zip file to the data folder.
Then:
All the following steps involve running python notebooks. They can be run using Run All command in the respective IDE

  1. Run the file preprocessing.ipynb
    • This will extract the data from /data folder
    • It will extract all the required features from the datasets
    • It will generate and process the features
    • After all this processing preprocessed.csv is saved in /data folder and can be used for training and predictions.
  2. Run the file visualisations.ipynb
    • This helps in plotting of various features against revenue
    • This helps in estimation of the data
    • It tells us the idstibution of data and determine which models might be useful.
  3. Run the file ML_models.ipynb
    • This notebook has been documented and commented and runs each model one by one
    • After each training a prediction is made on the testing set
    • R2 Score, RMSE are printed
    • Scatter plots of true vs predicted value for training as well as testing set are made for predition visualisation.

Contact

For any further queries feel free to reach out the following contributors.

Ananya Singh ([email protected])
Devika Mittal ([email protected])
Manas Gupta ([email protected])
Prashasti Agarwal ([email protected])

Final Report

Page 1 Page 2 Page 3 Page 4 Page 5 Page 6

analyzing-movie-features-in-generating-revenue's People

Contributors

prashasti19075 avatar manas2030 avatar devika19463 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.