Skip to content

verma-rahul/RecommendationSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recommender Systems For Instacart: A Collaborative Filtering Approach

Exploratory data analysis is performed in src/eda.ipynb.

We have implemented three collaborative filtering methods in independent Jupyter Notebooks under src/

  1. tfidf.ipynb: Neighborhood based method that uses cosine similarity on a tf-idf weighted matrix to recommend products from similar users.
  2. SVD.ipynb: Matrix factorization using SVD. Computes the largest K singular values/vectors for a sparse matrix. Based upon the largest K singular values, we find top K recommended items for users.
  3. imf.ipynb: Matrix factorization using Alternating Least Squares by representing the utility matrix as a confidence matrix. Based on the paper Collaborative Filtering for Implicit Feedback Datasets.

Execution steps:

  1. Install dependencies: pip install -r requirements.txt.
  2. Download all *.csv's from here into the data/ directory.
  3. Run any of the Jupyter Notebooks under src/
  4. You can view the evaluation results in data/eval. [It is currently empty. Will be populated if the notebooks are run again.]

About

Recommendation System for Instacart Dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors