Giter Site home page Giter Site logo

movie-recommendation-system's Introduction

Movie-Recommendation-System

This is an implementation of Apriori Algorithm using Python. Here we have used python libraries like pandas,mlxtend

The proceedure of the code is as follows:

  1. First we will import the libraries and the two dataset files Movies.tsv, ratings.tsv.
  2. Then we are going to create a mapping between movieId and title.
  3. We will now sort the highrated movies > 4 ratings .
  4. We will perform data preprocessing converting the transactions to a binary representation by using TransactionEncoder from mlextend.preprocessing. If an item is present in the transaction, it will be tagged as 1 ,otherwise 0.
  5. Now by using the apriori algorithm we will find the optimal solution by min_support=0.2,max_len=2,metric="lift",min_threshold=2
  6. Hence we get the result as ancedents -> consequents

i.e we can recommend a person who watched 12 Angryman to watch fargo and vice versa

reference site: https://levelup.gitconnected.com/create-a-recommendation-system-in-python-d7a95b2837ab

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.