Git Product home page Git Product logo

movie_revenue_predictor's Introduction

A Prediction System for Movie Revenue

CSCI 5502 Data Mining Final Project

Structure

  • datasets: store all csv files generated from original TMDb datasets
  • notebook: Jupyter notebooks (mainly used for analyzing correlations between attributes)
  • src: source Python files of the core system
    • classification.py: implement classification approaches used in this project
    • clustering.py: implement clustering approaches used in this project
    • DBSCAN_tuning.py: a program can automatically tune parameters of DBSCAN algorithm
    • preprocessing.py: implement functions for preprocessing conveniently
    • movie_revenue_predictor.py: the main program
  • src/utilities: program not relate to core functions
    • instagram_data.py: program to get Instagram hashtags

Environment & Dependency

  • Python 3
  • Pandas
  • scikit-learn
  • Matplot
  • TMDb datasets in the directory datasets

Diagram

How to run the system

The main program is movie_revenue_predictor.py. You need to execute this program in the directory Movie_Revenue_Predictor. Then, the program can be executed by the instruction python3 src/movie_revenue_predictor.py. Before execution, you can modify the parameters mentioned below.

Parameters

movie_revenue_predictor.py

There are paramters can be changed to conduct different tests.

classification_method = 1 # 0: single classifier 1: boosting
plotting = False # plotting classification result or not
evaluation_method = 0 # 0: classification error 1: RMSE
test_times = 10 # how many rounds of tests

classification.py & clustering.py

Users can tune parameters of classification and clustering methos in different classifiers. To get more detailed information, please take a look at scikit-learn.

Datasets

Make sure that the TMDb datasets are in the directory datasets.

movie_revenue_predictor's People

Contributors

yamahachou avatar mollyz avatar

Watchers

James Cloos avatar Chi-Ju Wu avatar  avatar  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.