Coder Social home page Coder Social logo

vishank94 / movie-recommendation-system Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 5.0 4.97 MB

Movie Recommendation System

Jupyter Notebook 100.00%
machine-learning recommendation-system collaborative-filtering content-based-recommendation pagerank cross-validation one-hot-encode linear-regression decision-trees data-wrangling exploratory-data-analysis feature-engineering baseline-model python

movie-recommendation-system's Introduction

Table of Contents

  1. Introduction
  2. Approach
  3. Dependencies
  4. Running the Code
  5. Directory Structure

Introduction

This repository contains solution to coding challenge recommendation-system.

Approach

  1. This recommendation system uses data from IMDB/MovieLens dataset.
  2. Some concepts used here are - PageRank, Content-Based Recommendation, Collaborative Filtering.
  3. Machine learning terminology you'll come across here - One-Hot Encoding, Cross-Validation, R-squared metric.
  4. The notebook uses and compares Linear Regression and Decision Trees models to predict movie ratings for users.
  5. ML pipeline used here - data wrangling->exploratory data analysis->feature engineering->baseline model->best model.

Dependencies

Python libraries: re, ast, time, heapq, decimal, operator, subprocess, numpy, scipy, pandas, seaborn, networkx, rpy2, itertools, matplotlib, datetime, collections, networkx, sklearn, surprise

R libraries: doMC, Kmisc, igraph, data.table

Running the Code

  1. Jupyter notebook recommendationSystem.ipynb (Python kernel) is the master file.
  2. It makes use of:
  • wd_um_graph.txt generated by weightedDirectedUserGraph.ipynb (R kernel)
  • wu_movie_graph.txt generated by weightedUndirectedMovieGraph.ipynb (R kernel)
  1. The repository directory structure given below must be maintained for the code to run successfully.

Directory Structure

The directory structure for my repo is as follows:

├── README.md 
├── Data
│   └── u.data
│   └── u.genre
│   └── u.info
│   └── u.item
│   └── u.occupation
│   └── u.user
├── Files
|   └── *
├── Scripts
    └── recommendationSystem.ipynb
    └── weightedDirectedUserGraph.ipynb
    └── weightedUndirectedMovieGraph.ipynb

movie-recommendation-system's People

Contributors

vishank94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.