Giter Club home page Giter Club logo

recommendersystem's Introduction

Recommender System using Collaborative Filtering

Language used : Python 2.7

Dataset used : MovieLens 100k, available at http://grouplens.org/datasets/movielens/

Features Implemented :

  1. User Based Recommendation
  2. Item Based Recommendation

How to use it:

Step 1: Import Recommender Class

Step 2: Initialise the Recommendation System

    Recommender function requires four arguments:
      
      1.Rmin -> minimum rating in a rating scale
      
      2.Rmax -> maximum rating in a rating scale 
      
      3.User Dataset
      
      4.Item Dataset 

Step 3a: For UserBased Recommendation System, UserRecommendation method is implemented

        It requires 2 arguments:
          
          1. UserID
          
          2. Method for Similarity measures
    
    Six different similarity measures are implemented:
      
      1.Proximity-Impact-Popularity (PIP) measure, as proposed by Hyung Jun Ahn in "A new similarity measure for              collaborative filtering to alleviate the new user cold-starting problem", available at 
        http://www.sciencedirect.com/science/article/pii/S0020025507003751
      
      2.Euclidean distance
      
      3.Pearson’s Correlation (COR)
      
      4.Cosine (Cos)
      
      5.Constrained Pearson’s Correlation(CPC)
      
      6.Spearman’s Rank Correlation (SRC)

Step 3b: For ItemBased Recommendation System, ItemRecommendation method is implemented

        It takes 3 arguments:
          
          1. UserID
          
          2. Method for Similarity measures
          
          3. Top n matches required

recommendersystem's People

Contributors

nikhil-fulzele avatar

Watchers

James Cloos avatar suleozturk 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.