Skip to content

rahulvaish/RecommendationSystems-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 

Repository files navigation

This repository contains self-contained Recommendation System examples.

Table of Contents



  • This example recommends latest movies on the basis of various filters applied on the Dataset. [Source Code]
    • Load the Dataset [movies_metadata.csv]
    • Filter by adult/Non-Adult Movie
    • Filter by year
    • Filter by Vote Count
    • Filter by Run time
    • Filter by Vote Average
    • Filter by Genres

  • This example demonstrates the concept of User-User Similarity and Item-Item Similarity. [Source Code]
    • Load the Dataset [u.data]

    • Create User-Movie Rating Relationship Table

    • Cater Missing Values

    • Prepare User-User Similarity Matrix Dataframe [Cosine Metric]

    • Handle diagnols

    • Create Movie-User Rating Relationship Table

    • Cater Missing Values

    • Prepare Item-Item Similarity Matrix Dataframe [Correlation Metric] image

    • Load the Dataset [u.item]

    • Prepare user defiend functions to compute Recommendations.


  • This example demonstrates the concept of Content based Similarity (TF-IDF). [Source Code]
    • Load the Dataset [movies_metadata.csv | metadata_clean]

    • Compute TF-IDF on movie description.

    • Prepare user defiend functions to compute Content based Recommendations.


  • This example demonstrates the concept of Matrix Factorization for recommending movies. [Source Code]
    • Load the Dataset [u.data | u.item | u.user]

    • Compute Matrix Factorization.

    • Give a sample and get the list of revevant recommendations.


  • This example demonstrates the concept of KNN for recommending movies. [Source Code]
    • Load the Dataset [mtcars.csv]

    • Compute KNN.

    • Give a sample and get the list of revevant recommendations.


  • This example demonstrates the theory and implementation of Apriori Algorithm. [Source Code]
    • Install apyori library. image
    • Load the Dataset [grocery.csv]
    • Picked top 2000 out of total 75000 records. Apriori is very expensive in calculation and computation.
    • Convert pandas dataframe into a list of lists.(Format for Ariori Algorithm)
    • Call apriori() function with approprite parameters.
    • Examine the results.

  • This example demonstrates restaurant recommendations based on Rating value/Footfall.And further suggests other restaurants of similar variant. [Source Code]
    • Load the Dataset [chefmozcuisine.csv | geoplaces2.csv | rating_final.csv]
    • Compute Popularity (Rating value/Footfall)
    • Compute PearsonSimilarity.

About

Collection of Recommendation Systems Examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published