Git Product home page Git Product logo

gm_s22's Introduction

GM_S22

Project for RPI's Spring 2022 course, CSCI-4964 Graph Mining.

We experiment with the masked CANDECOMP/PARAFRAC (CP) decomposition for collaborative filtering in recommender systems with vector weight edges.

General Problem and Motivation

Given a bipartite graph G representing users U and products P as vertices and recommendations of products for users as edges B between them, we want to interpret the reviews in the graph as a tensor T.

Note that graph G is not usually complete. That is, some products have not been reviewed by all users, or some users have not reviewed all products. By storing these reviews as a tensor, we can perform a tensor decomposition to get several simple tensors that approximate T when their outer product is taken. Normally, missing data worsens the error of this approximation. This motivates our problem, and it led us to use a masked-CP decomposition as described in the attached paper. Using this approximation, we can estimate other reviews between users and products that do not exist in the given data. This gives us a tensor-based implementation of a recommender system given incomplete data.

Dataset

We used data aggregated from the BeerAdvocate website. Although the original BeerAdvocate is no longer running, the Stanford SNAP Lab has saved this data and hosted it on data.world. See Section IV in the paper for a discussion of methods used to interpret this data into a bipartite graph.

See the SQL queries in this file to understand the process of extracting data into a bipartite graph

gm_s22's People

Contributors

devbyathi avatar chrisj1 avatar

Stargazers

 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.