Giter Site home page Giter Site logo

predict-movie-ratings's Introduction

predict-movie-ratings

Inspired from the article "Film Success Prediction Using NLP Techniques" by Joshua A Gross, William C Roberson, J Bay Foley-Cox, this project aims to predict movie ratings and movie revenues using NLP applied to movie scripts.

Starting from a pool of circa 1000 movie scripts scraped from https://imsdb.com/, dict_features is populated by assigning to each movie a set of predictors. From the movie script itself, top250 words, together with some indices of lexical and semantical complexity are extracted. Furthermore, thanks to IMDb API some movie information such as run-time, genres, year of release and budget were assign. File "collection_and_preprocessing.py" deals with the creation of this dictionary (available in the folder "dict"), together with two other dictionaries that will be used by the model. Note that some manual labelling has been done in order to complete the dataset.
File "ml_model.py" is an adaptation of the model of the article cited above, in order to take into account also NLP features extracted in this context. The model predicts log(revenue) and rating of a movie.

References


[1] Gross, Joshua A., William C. Roberson, and J. Bay Foley-Cox. "Cs 230: film success prediction using nlp techniques." (2021).
[2] E. Castano et al. β€œOn the Complexity of Literary and Popular Fiction (Under revision)

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.